I gave you a valid regular expression, I've never tried to use it in javascript for mozilla. I left off the leading "/" that you had, as it's not actually part of the expression, but if it's part of the syntax for regexes in mozilla's javascript, then you'll want to make sure you didn't take it out of your code.