Regular Expressions 101

Community Patterns

Regex for 1 to 100 with or without decimal values

-2

Regular Expression
ECMAScript (JavaScript)

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

Description

no description available

Submitted by Ved - 10 years ago