Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
Java 8

"
^-?\d{0,6}(\.\d{1,2})?$
"
gm

Description

For two digits in regex in decimal places two and allow two digits before that point decimal

Submitted by anonymous - 3 years ago