m/[^(this|that|\s)]/ig Anything other than --> this that spaces
On Fri, 20 Sep 2002, Brook wrote: > How do you write a regular expression which checks a string for any > characters/words other than a specified few and returns true if there are > ANY other characters in the string. > > Brook > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists