Use attribute rules to block invalid characters in at text field.

209
0
02-18-2020 08:33 AM
JeffJensen3
New Contributor II

I'm working with a point layer for addresses that will be exported to a CSV file, once it is complete.  I have set up Attribute Rules on the Constraints tab to find invalid characters, those characters which were not allowed in the address field.  I have created 18 different rules in order to catch all of the invalid characters and just replaced the '$' in the expression below with the appropriate invalid character, which are $ % + - ^ & * ( ) ? / ' " : ; } { ] {

My expression is;

Find('$', $feature.Address)

Is there a way to write only one Arcade expression that will find all of the invalid characters instead of the 18 I have now?

0 Kudos
0 Replies