Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^$|^(\d+(?:[\.\,]\d{1,2})?)$
/
gm

Description

tuščias laukas sveikas skaičius 1 arba 2 skaičiai po kablelio / taško pvz. 123 123,5 123,54 123.5 123.54

Submitted by anonymous - 4 years ago