Regex to parse cfhttp.filecontent?

2010-11-04 Thread Marie Taylore

Hi all,

I need help in parsing returned cfhttp.filecontent contents.

I need to find the line with AUTHORIZATION RESULT:  and then get all the text 
that follows on that same line.

I'm sure there's a simple way to do that with ReFind, but I'm a Regex idiot.

Any help would be appreciated.

Thanks!

MarieT


  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Regex to parse cfhttp.filecontent?

2010-11-04 Thread andy matthews

http://regexr.com?2sg59

In CF, that would return an array with one or more matches. You could then
just remove the part you don't want, namely AUTHORIZATION RESULT: , and
proceed with your string.


andy

-Original Message-
From: Marie Taylore [mailto:mt4yl...@yahoo.com] 
Sent: Thursday, November 04, 2010 6:51 PM
To: cf-talk
Subject: Regex to parse cfhttp.filecontent?


Hi all,

I need help in parsing returned cfhttp.filecontent contents.

I need to find the line with AUTHORIZATION RESULT:  and then get all the
text that follows on that same line.

I'm sure there's a simple way to do that with ReFind, but I'm a Regex idiot.

Any help would be appreciated.

Thanks!

MarieT


  



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338837
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm