Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(\d*\.)?\d+$
/
gmi

Description

regular expression for positive decimal numbers,decimal regular expression validation,regular expression non negative decimal,regex for number with 2 decimal places,regex decimal number c#,regular expression for decimal number with 2 precision,regex to check decimal values,regular expression decimal 2 digits

Submitted by Taha Bhutta - 8 years ago