In addition to just working like JOS, I'd like the URL matching to work a little better: I don't want them to match to a trailing period, comma, or trailing brackets or braces -- I didn't have much luck with that, either.

...or I simply was too tired last night -- I think I was using the wrong backlashed character (maybe \w). Ok, one problem solved. Now how would I stop the last period, comma, bracket, or brace from matching?

Almost H. Anonymous
January 30th, 2006 11:20am

Why not let RegEx match URL with Comma, bracket, brace and with the current match, check if the last character(s) are in your black list and remove them?