Regular Expressions 101

Library entries

NUMBERS (integer, float, scientific notation)

Vote

-10

Regular Expression
pcre

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

Description

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