Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
[-]?\d*\.\d+|[-]?\d+
/
gm

Description

Number extract test. Accepts integers, floats, portions and negatives.

Submitted by anonymous - 7 years ago