> I'm not clear on what you're trying to match for. Is it: > Exactly one digit, followed by exactly any two characters, > followed by zero or more digits?
One or more digits, followed by one or more characters, followed by zero or more digits, followed by zero or more commas, four times. (doesn't match correctly) > /^(?:\d+\w+\d*,?){4}$/ One or more digits, followed by two characters, followed by zero or more digits, followed by zero or more commas, four times. (matches correctly...) > /^(?:\d+\w{2}\d*,?)$/ Should match: 10pc,10pc,10pc,10pc 4pc6,10in,12px,42pc634 Shouldn't match: 10,10,10,10 (matches on first one, but not on second one) 10pc,10pc,10,12in -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]