Allows only letters and digits; removes all other characters.
Allows only letters and digits; removes all other characters. Spaces, punctuation, symbols and underscores are all stripped out, leaving a clean run of letters and numbers. Use this to tidy up a value into a safe code, for example turning a messy product name or reference into a key with no special characters. Only plain, unaccented letters are kept; accented letters such as é or ü are treated as special characters and removed.