Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: asohailyou can try to do a regex substitute to get rid of special characters like so
Data_alphaNumsOnly =Data.regexSubstitute("[^A-Za-z0-9 ]",””)
For example, this expression will get rid of any character thats not A-Z, a-z, 0-9, or space but you can craft a regexpression to be as specific as needed