Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

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

Description

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

  • hundreds above 0.857
  • 0.800 + tenths above 0.056
  • 0.850 + units above 0.056
Submitted by msoutopico - 20 days ago