Regular Expressions 101

Library entries

Regex for real number

Vote

2

Regular Expression
javascript

/
[+-]?(\d*\.\d+|\d+\.\d*|\d+)
/
gm

Description

Loading markdown...
Submitted by Adnan nabib - 2 months ago