Main problem with the parens one is handling foo (bar) (baz) or foo( bar(baz) ) i don't think it's easy with regexes. i'm with Ruda on that one. writing a filter would be easier. -bence