Hi community!!
I'm trying to bring back names that have ANY kind of special character - just stuff that doesn't belong in a name. Some examples are:
John Sm!th
Mary H@rris
Susan Mar$h
The majority of the names on the tables are fine, I just need to filter out the 'bad' names and have those on a file/spreadsheet to have those addressed. I've tried Regex and can't seem to bring just those back. Any help is greatly appreciated. Thank you!!!
Solved! Go to Solution.
Hey @mrgrohl,
You could use a filter with this formula:
REGEX_Match([Field1], "[a-Z ]*")
This will exclude all rows with any charater that is not a letter or a whitespace.
Couple Examples below
if REGEX_Match(replace([Names],' ',''), '.*?\W.*?') then 'Bad' else 'good' endif
if REGEX_Match([Names], ".*[\&@$\!#\%\^\*/\?].*") then 'Bad' Else 'Good' endif
Thank you for both responses! Marking as complete