I need to be able to search a string and make multiple replacements in
it.  
For example,  I have a string that is coming out of the database with
weird characters
<token1>410-333-1234</token1><token2>410-333-4321</token2>
I want to replace <token1> with "Phone number changed from
And I want to replace </token1><token2> with "to"
And simply delete </token2>

Any help is much appreciated.
Thank you

######################################################################
In accordance with Internal Revenue Service rules, any federal tax 
advice provided in this communication is not intended or written by 
the author to be used, and cannot be used by the recipient, for the 
purpose of avoiding penalties which may be imposed on the recipient 
by the IRS.  Please contact the author if you would like to receive 
written advice in a format which complies with IRS rules and may be 
relied upon to avoid penalties.

######################################################################
Attention: 
This e-mail, including any attachment(s), is intended for 
receipt and use by the intended addressee(s), and may contain 
confidential and privileged information. If you are not an intended 
recipient of this e-mail, you are hereby notified that any unauthorized 
use or distribution of this e-mail is strictly prohibited, and requested 
to delete this communication and its attachment(s) without making 
any copies thereof and to contact the sender of this e-mail 
immediately. Nothing contained in the body and/or header of this 
e-mail is intended as a signature or intended to bind the addressor 
or any person represented by the addressor to the terms of any 
agreement that may be the subject of this e-mail or its attachment(s), 
except where such intent is expressly indicated.
######################################################################


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:218205
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

Reply via email to