rereplace(str, 'id=(".*?")', 'id=\U\1', 'all')

if you have any other id="" attributes it will convert those too...
something like <div id="mydiv"> 

so if your UUIDs are all 4 parts separated by a hyphen...use this

rereplace(str, 'id=(".*?-.*?-.*?-.*?")', 'id=\U\1', 'all')

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-----Original Message-----
From: Dave Francis [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 26, 2005 12:20 PM
To: CF-Talk
Subject: OT: Yet another regex question

Hi,
    Sorry for OT, but stumped.

    I need a regex (or any CF5 solution) to change all uuid's within a txt
file to uppercase. They are all in quotes and preceded by id=.
    ie. id="38d4db48-7a05-491a-b258-675ddb02fd0e"

Thanks in advance to all and any advice
            Dave






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