This SEEMED simple enough, but I can't quite make it work. Tried for the last 
30 minutes. 

The string cannot have any spaces in between the if( or the ){

<cfset str = 'if(someKey in struct){'>

<cfset re = '[if\s+\(]+|[\)\s]+'>

<cfoutput>#reFindNoCase(re, str)#</cfoutput>

WHat am I doin wrong?

Thanks,
Will 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308325
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