http://qs321.pair.com?node_id=768139


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.