Don't you want something like this?
<cfif REFindNoCase("([[:Alpha:]]|[[:Punct:]])", myString)>
    bad chars found
</cfif>

(|) does alternation (like "or")

Jamie

On Fri, 27 Jul 2001 16:56:22 +0000, in cf-talk you wrote:

>I seem to be having a problem searching for a space using RegEx. This is 
>what i'm using:
>
><cfif REFindNoCase("[[:Alpha:][:Punct:][ ]]", myString)>
>    bad chars found
></cfif>
>
>but it doesn't find any of the chars i'm looking for if i include "[ ]". If 
>i remove that part, it finds what i'm looking for. Does anyone know why this 
>doesn't work? Thanks for the help.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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