Regular Expressions 101

Sponsors

Library entries

0
javascript

匹配图片title src

no description available
Submitted by anonymous - 6 years ago
0
javascript

Extract from on-pageText

no description available
Submitted by anonymous - 6 years ago
0
javascript

US Phone

no description available
Submitted by anonymous - 6 years ago
0
javascript

MyRPS Mobile Numbers

no description available
Submitted by anonymous - 6 years ago
0
javascript

emprisonnement

no description available
Submitted by anonymous - 6 years ago
0
javascript

amende

no description available
Submitted by anonymous - 6 years ago

Positive number - currency format (1234567890.12)

Vote

1

Regular Expression
javascript

/
^(0*[1-9]\d{0,9}(\.\d{0,2})?0*|0*\.([1-9]|\d[1-9]|[1-9]\d)0*)$
/
gm

Description

Loading markdown...
Submitted by Evgeny Sinitsyn - 6 years ago