I have a string variable S.
I need to know if this S consists only of characters of a..z, A..Z, 0-9,-, _ or it contains other characters as well.
'skdfkfkAkd32-k33' would return True
'5_-kksdfTEkd5-' would return True
'DS3Á323-3kd' would return False
'23Kskdf-k!xx' would return False
I can do it with Pos, but the code would be too long to check every character.
The best solution would be something like regexpin MySql.