in reply to regular expression help
To match "X,X,X", the pattern will look something like /X(?:,X)*/. Since your "X" is rather long, you might want to consider splitting on commas first, then parsing each item in the list.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: regular expression help
by Roy Johnson (Monsignor) on Jun 03, 2009 at 20:00 UTC | |
by ikegami (Patriarch) on Jun 03, 2009 at 20:30 UTC | |
by pip9ball (Acolyte) on Jun 03, 2009 at 22:36 UTC |