Okay, Regex is not my strong suite and this one has been eluding me all 
morning. I'm trying to replace any occurrences of "==" inside a string 
enclosed with single quotes. So my test string is:

<cfset tempString="[CONFERENCE] == 'OPTION A - FULL CONFERENCE PACKAGE' OR 
[CONFERENCE] == '69 == this price' ">

And I want to replace the "==" at the end of this string inside the single 
quotes with "=" but I do not want to change any of the "==" character(s) 
outside of the a single quoted string. So far this is the RegEx I have 
which does not work in finding "=="  insider the single quotes.

#reFindNoCase("(?i)(:alpha:|:digit:|:space:|(!|##|\$|%|\&|\(|\)|\*|\+|,|-|\.|/|:|;|<|=|>|\?|@|\[|/|]|\^|_|\{|\||}|~))*'==",tempString)#

Any RegEx Masters see what I am doing wrong?

Brook



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199246
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to