>Ah! I think he meant the right side of the equals sign after b.
>
>But, if the value (right side of the =) contains 'b=' then we're in trouble
>again.
Yes, exactly, one way (theoritically) would be, have 3 segements for all 3 
lines and
find the seg2.element[2].value, but I don't know regexp...

>
>Adrian
>
>Adrian...
>
>The OP said he didn't know in advance what the value of b would be. If he
>did, yours would work great.
>
>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/
>
>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:315228
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to