Could someone please show me how to use some simple RegEx to do the following please:
"String with spaces, punctuation; and numbers (22)" -> "Stringwithspacespunctuationandnumbers22"
The only characters I want to retain are letters a-z (case doesn't matter) and numbers 0 to 9. I'm working with web services that don't like punctuation, but I don't want to code string values with a generic recordID because I still want the results to be readable.
Basically, anything that isn't a to z or 0 to 9 can just be thrown away. I this easy to do? Thanks