Not sure what I am doing wrong but this is not working.

I have the string "kissess are good<br>kiss<br>the girlfriend"

Kiss is a badword, and this regexp is not picking it up.

Please advise and thanks for your help.

Matt

> I think you want something like this:
> 
> <cfif REFindnocase("([\s\>]#badword#[\s\<])",skills)>
> 
> You may want to expand it to non-alphanumeric wrappers, though, to 
> catch punctuation: "he gave her a kiss."
> 
> <cfif REFindnocase("([\W]#badword#[\W])",skills)>
> 
> which is the same as 
> 
> <cfif REFindnocase("([^a-zA-Z0-9_]#badword#[^a-zA-Z0-9_])",skills)>
> 
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314666
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to