rocknbil - 4:48 pm on Feb 21, 2012 (gmt 0)
If you go with the regex, you may want to modify that a little. First, your last dash in a character class represents a range (see your a-z, etc), and it may confuse the regex engine. Escape it to be safe.
Same is true of the dot character. Dot means "any character," and within a class will it be a literal dot or "any character"? Escape it to be sure.
There's no real reason to eliminate commas, is there?
Though A-Za-z works, you can achieve the same with the case-insensitive modifier.
0-9 and \d are equivalent. The only real reason to use a digit range is if you want a specific range, like 1-5.
Don't know why you have whitespace \s twice, if you intended to indicate "a space followed by a dot followed by another space" that's a different regex outside the class.
All together, letting the commas live,