Forum Moderators: open
It's JScript, but shouldn't be too hard to translate, the regex patterns are "more or less" the same.
//ZS
(sorry about dropping the url - I just figured it'd be a waste of space to repost something as large as that)