Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
Python

r'
((?<=\D)|(?<=^))(0+)(?=[1-9]+)|((?<=\D0)0+(?=\D))|((?<=^0)0+(?=\D*$))
'
g

Description

no description available

Submitted by anonymous - 8 years ago