Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^([0-9]{1,5})(([,.]{1})([0-9]{1,2}))?$
/

Description

decimal nr between 0-99999.99 with comma or dot with max. 2 decimal digits

Submitted by anonymous - 8 years ago