Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(\b0\d*?)0+$
/
gm

Description

it match when zero is second characters of the string and so on

Submitted by Azhi - 3 years ago