> Would it be helpful to tweak the regex just a bit? > > if ( /<(iframe|script|object)\b/i ) { I like it. Joseph Brennan Academic Technologies Group, Academic Information Systems (AcIS) Columbia University in the City of New York