Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-07-13 08:14
Flavor·ECMAScript (JavaScript)

/
[-]?\d*\.\d+|[-]?\d+
/
gm
Open regex in editor

Description

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

Submitted by anonymous