Regular Expressions 101

Library entries

Decimal Number

Vote

-2

Regular Expression
javascript

/
\b((?:\d{1,3})(?:([,. ']?)\d{3})?(?:\2\d{3})*)(?:(?:|(?!\2))([,./])(\d+))?\b
/

Description

Loading markdown...
Submitted by Andreas Pizsa - 7 years ago