How do I search a string for special characters in an Editable Textbox

OR

Something like this will work. You might need to check also if they enter if the string doesn’t have any illegal characters. (Not sure if Editable Text in UGM has some build-in function for illegal characters.)