How can I check if a string contains characters not in a list? My string can contain a-z, A-Z, 0-9 and @, #, and a space, but nothing else.
Valid strings:
123@valid
another1
Invalid strings:
1 invalid*
another $ one
Doing it all inside a SQL statement (or two) is preferred.
Valid strings:
123@valid
another1
Invalid strings:
1 invalid*
another $ one
Doing it all inside a SQL statement (or two) is preferred.