the simplest way to accomplish what I want.
Barney Boisvert wrote:
> RE doesn't have that kind of negation operator, in any implementation.
> I usually do something like this (untested):
>
> str = REreplaceNoCase(str, "<(/?)(b|i|strong|p)", "#chr(5)#\1\2", "all");
> str = REreplaceNoCase(str,"</?[^>]*>","","all");
> str = replace(str, chr(5), "<", "all");
>
> Wrap it up in a UDF that takes the list of allowed tags as a
> parameter, and you can use it all over the place.
>
> cheers,
> barneyb
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

