Community Patterns

Community Library Entry

1

Regular Expression
Created·2021-10-24 16:22
Flavor·PCRE2 (PHP)

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

Description

^\-?\$[0-1][0-5]+(\.[0-9]{2,2})?$|^\-?\$[0-5]+(\.[0-9]{2,2})?$

Submitted by https://square.to