> Using regex can I say select all instances of a character NOT followed > by specific other characters?
Yes, it's called a negative lookahead, and looks like this: (?!...) So to find ampersands that are not followed by nbsp; you want: &(?!nbsp;) This of course assumes that non-breaking spaces are the only entity you have - will need something more complex if there are others. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1139 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
