Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2017-01-23 10:21
Flavor·JavaScript

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

Description

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

Submitted by anonymous