Regular Expressions 101

Community Patterns

0

Postfix

PCRE2 (PHP >=7.3)
Add DR to end of line
Submitted by anonymous - a year ago
0

C/F temp unit

PCRE2 (PHP >=7.3)
me
Submitted by anonymous - a year ago
0

belcorp

PCRE2 (PHP >=7.3)
test
Submitted by anonymous - a year ago
0

Php

PCRE2 (PHP >=7.3)
Php
Submitted by Nickname - a year ago

Floating Point number verifier and extractor with scientific notation support

1

Regular Expression
PCRE (PHP <7.3)

/
^(([+-]?(?:\d*(?:\.(?=\d))?\d*))(?:(?:(?<=\d)[Ee])?((?2)))(?<=\d))?$
/
g

Description

Loading markdown...
Submitted by Tamoghna Chowdhury - 6 years ago