Regular Expressions 101

Library entries

Number or Range

Vote

2

Regular Expression
javascript

/
^\s*(\d+(?:\.\d+)?)(?:\s*\-\s*(\d+(?:\.\d+)?))?\s*$
/
g

Description

Loading markdown...
Submitted by Mark Newcomb - 5 years ago