If you simply want to remove them, you might try (for cf6+) rereplace(string, '\&.*?;', '', 'all')
The regular expression breaks down to Ampersand \& As many characters as it takes to fill the requirement, but as few as possible .*? semicolon ; If you have further questions, feel free to ask! --Ben The Regex Ninja Doom simmy fleischer wrote: > What would be the syntax to find all of the strings that look like: ®, > ™ (i.e. the format amprsand[any character(s)]semicolon) in a string? > > If anyone has the coldfusion syntax that would be great if not just the > regular expression would be very helpful. > > Thanks > Simmy > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1102 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
