Regular Expressions 101

Library entries

NUMBERS (integer, float, scientific notation)

Vote

-9

Regular Expression
pcre

/
^[+-]?(\pN+($|(?P>float)?e-?\pN+$)|(?<float>\pN*[,.]\pN+))
/
gmui

Description

Loading markdown...
Submitted by CSφ - 7 years ago