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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222863
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