Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-12-12 19:32
Flavor·PCRE (Legacy)

/
^-?\d{1,}(\.\d{1,})?$
/
Open regex in editor

Description

matches all positive or negative float or integers

Submitted by Codeloper