OMG, I can't believe you just did that and made it look so simple. Thank 
you, thank you, thank you!!

Brook

At 02:20 PM 3/17/2005, you wrote:
>How's aboot
>
><cfset tempString = "[CONFERENCE] == 'OPTION A - FULL CONFERENCE PACKAGE' OR
>[CONFERENCE] == '69 == this price' ">
>
><cfoutput>
>         <pre>#tempString#</pre>
>         <pre>#REReplace(tempString, "'(.*)?==(.*)?'", "'\1=\2'", 
> "ALL")#</pre>
></cfoutput>
>
>Ade
>
>-----Original Message-----
>From: Brook Davies [mailto:[EMAIL PROTECTED]
>Sent: 17 March 2005 22:08
>To: CF-Talk
>Subject: Reg Expression Help
>
>
>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
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/03/2005
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199250
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