Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-06-01 07:17
Flavor·ECMAScript (JavaScript)

/
^-$|^-?(\d|(\d+(,|.)?\d+))$
/
gi
Open regex in editor

Description

if you need positive or negative float number with comma or point

Submitted by Deadula