I'm a little stuck with a regular expression (probably not the 1st time you heard that). Anyway, I was to allow a string to have only alphanumber characters and commas. But, and here is my problem, I don't want to allow to consecutive commas and I don't want to string to being or end in a comma.
here is the RE that I'm have "sort of" working.Any help would be greatly appreciated./([a-zA-Z0-9,{1}]+)/
edited: Thu Dec 4 19:30:18 2003 by jeffa - code tags
In reply to Regular Expression Question by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |