Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-01-15 19:52
Flavor·PCRE (Legacy)

/
^(5$|5.0$|5.00$|^(?:4(?:\.[0-9]{0,2})?|[1-4](?:\.[0-9]{0,2})?|1?\.[0-9]{0,2})$)
/
gm
Open regex in editor

Description

Regular expression to filter decimal from 1.00 to 5.00 ( inclusive) Plus occurrence of 0

Submitted by anonymous