Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[+-]?([\d↊↋]{1,3}(,[\d↊↋]{3})+|[\d↊↋]+)(\.[\d↊↋]+)?$
/
mg

Description

Matches dozenal numbers. Supports positive/negative sign and thousands separators.

Submitted by XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff) - 2 years ago