I just found an issue with this regexp

<cfif REFindnocase("([^a-zA-Z0-9_]#badword#[^a-zA-Z0-9_])",clean_skills)>

this works great if it is not the first word or only word in the string.

what do I need to do to update the regexp to pick up the bad word it is the 
first last or only word in the string also.

Thank you again for all of your help.

Matt 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:314686
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