Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(\d+(?:\.\d+)?)%$
/
gm

Description

Percentage only

Submitted by cagatayucar - 2 years ago