I need seperate regular expression to match the following:
All non special characters EXCEPT ' and - (match df&g but not ab-tg or df')
Any match from a list of strings e.g. "aka", "nee", "n/k" - either on their own or followed by a space (match "nee smith" or "aka jones" or "n/k" but not "Paneen" or "Pakah")
Two spaces in a row
Two hypens in a row
Cheers




Reply With Quote


Bookmarks