Regular Expressions 101

Library entries

validate Page range input

Vote

0

Regular Expression
javascript

/
^(\s*\d+\s*\-\d+\s*,?|\s*\d+\s*,?)+$
/
gm

Description

Loading markdown...
Submitted by Anwesh Gangula - 2 months ago