Adrian... The OP said he didn't know in advance what the value of b would be. If he did, yours would work great.
-----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 11:35 AM To: cf-talk Subject: RE: Any regular expression guru here? Here's my first attempt with nooooooo testing! <cfsavecontent variable="str">a= b=tyweu8939skdksspdssdsd c=sd</cfsavecontent> <cfdump var='#REMatch("b=(.*)?\r", str)#'> Adrian Building a database of ColdFusion errors at http://cferror.org/ -----Original Message----- From: Don L Sent: 13 November 2008 17:11 To: cf-talk Subject: Any regular expression guru here? What I'd like to want to do is to replace a value from a simple text which looks like this: a= b=tyweu8939skdksspdssdsd c=sd How do I replace the value of b when the b value is unknown? Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315225 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4