Regular Expressions 101

Library entries

Validating comma delimited strings for whitespaces & extra commas

Vote

-2

Regular Expression
javascript

/
[^,\s]+(,([^,\s])+){0,}
/

Description

Loading markdown...
Submitted by Cyril Mathew - 6 years ago