Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(\d{1,})(\.\d{1,2})?$
/

Description

For float type inputs.

Submitted by Juanma - https://github.com/juanmaa1414 - 10 years ago