Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[^-a-z]\d{0,}(([.]{1})?\d?){0,}$
/
gmi

Description

(/^[^-a-z]\d{0,}(([.]{1})?\d?){0,}$/gi

Submitted by Wasiu Ramoni - 3 years ago