in reply to Re: A NOT in regular expressions
in thread A NOT in regular expressions

Hi, I think you forgot the +.
s/<%[^%]+%>//g;
MP