in reply to monkify

Wow, I love that trick with /[][]/ to match []. I always wind up escaping the "squares" in character classes.

BTW, I had to use your script to type this post, so it's already useful :)
--
Mike