Hi all. I have a variable which contains an HTTP result and need to find a 
number inside that. For example:
1) 
User #: 5541855
Name: John Kennedy
Account: 25
Age: 57
City: Boston
....

I need to find the Account number(25);

2)
User #: 548
Name: Ronald Reagan
Account: 21558485 (user needs to revalidate account number)
Age: 71
City: Houston
....

I need to find the Account number(21558485);
and so on.

Using this code returns that first number(for User #):
getAccount=ReFind("(\b[0-9]+)?\b",initialText,1,'true')>

Cheers

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278277
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to