https://stackoverflow.com/questions/9364400/remove-not-alphanumeric-characters-from-string-having-trouble-with-the-char
Peter Dobbs President | ENGINESS | P: 416.901.6151<tel:416.901.6151;118> | F: 416.901.6150<tel:416.901.6150> | www.enginess.io [cid:] This email and any attachments are confidential and are intended only for the person(s) to whom it is addressed. It you are not the addressee named above, any use, copying, distribution or disclosure is strictly unauthorized. If you have received this information in error, please delete it and any attachments and notify me immediately. On Jul 18, 2018, at 10:19 PM, Wayne Irvine <[email protected]<mailto:[email protected]>> wrote: I have a situation where users might type in a string and I need to make a simple alphanumeric code from it. Previously I’ve used a bunch of REPLACE statements, but you can never underestimate fools. ;) I’m playing around with REGEX (again) and as usual, it has me stumped. I would like to code a simple REGEX (oxymoron) statement that will take a string of characters and return either a string with only alphanumerics and spaces, or an array of strings with only alphanumerics. Wayne Byteserve Pty Ltd w: http://www.byteserve.com.au/ e: [email protected]<mailto:[email protected]> p: +61 02 9960 6099 m: 0409 960 609 f: +61 02 9960 6088 ---------------------------------------- To unsubscribe from this list, please send an email to [email protected]<mailto:[email protected]> with "unsubscribe terascript-talk" in the body. ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body.
