Regular Expressions 101

Community Patterns

Community Library Entry

-2

Regular Expression
PCRE (PHP <7.3)

/
((\d*\.\d+)|(?:\d|[1-9]\d+))(?:[f])
/
g

Description

matches 123.4f 123.4F .4f .4F 5f 5F

Submitted by Mateusz Paluch - 9 years ago