Regular Expressions 101

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 - 6 years ago