<cfif reFind("[[:space:]##%]", str)>

This will succeed if any white space, %, or # is found. Is that what you
want? Watch

-----Original Message-----
From: LI, Chunshen (Don) [mailto:[EMAIL PROTECTED]
Sent: Thursday, 23 October 2003 3:46 p.m.
To: CF-Talk
Subject: RegExp puzzle

Hi,

Some RegExp expertise would be appreciated.

Goal: find nonstandard characters in the string no
matter where they appear.
Nonstandard characters include white space, %, # in
this case.

<cfset str = "kskksjsdcol%">
<cfif REfind('[EMAIL PROTECTED]',str)>
  output the whole str
  -- in this case, it should return the str
</cfif>

Thanks.

Don Li

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to