Regular Expressions 101

Community Patterns

0

Address

Golang
for the demo 2019/09/27
Submitted by anonymous - 4 years ago

Captures only numbers with 2+ digits and excluding prefix 0's

0

Regular Expression
ECMAScript (JavaScript)

/
^0*([1-9]\d{2,}|[5-9]\d)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago