That's PERL right? ...

CF is going to be slightly different...

<cfset otherchars = YesNoFormat(REFind("[^(this|that| )]",mystring))>

I think is equivalent... If not...

<cfset otherchars = YesNoFormat(REFind("[^(this|that| )]",mystring))>

Brook: you might find the [EMAIL PROTECTED] list helpful
incidentally...

> 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


S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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

Reply via email to