Regular Expressions 101

Community Patterns

Match float in string

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(\d+\.\d+)\s
/
gm

Description

165.1 x 75.6 x 8.9 mm (6.5 x 2.98 x 0.35 in)

Submitted by anonymous - 2 years ago