Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
0\.([0-7]\d*|8[0-4]\d*|85[0-6]\d*)
/
gm

Description

Matches zero followed by decimal separator followed by a group of three options:

  • hundreds below 0.857
  • 0.800 + tenths below 0.057
  • 0.850 + units below 0.007
Submitted by msoutopico - 22 days ago