Something like:
<cfset fileContent=reReplace(fileContent,"$${([^}]*)}","<!-- \1 -->","ALL")>
(although $ and { and } might need to be escaped)
On 11/1/05, Paul <[EMAIL PROTECTED]> wrote:
> Regular expressions are so hard to find online because I have no idea how to
> concisely google what I'm after.
>
>
>
> My input data may contain strings like $${POD[1]} or $${STRING}. I would
> like to know how to replace the instances of "$${" with "<!-" (an opening
> html comment in case that doesn't come through). Then I'd like to replace
> the corresponding "}" with "-->" - the closing html comment. I thought I
> was on to something but I wound up replacing all } brackets in the document,
> including those in my stylesheet definitions.
>
>
>
> Thanks for the help!
>
>
>
> Paul
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:222864
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54