Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^(0|[1-9][0-9]*)$
"
gm

Description

Positive number !

Submitted by Cheikh Saab Bouh SOW - 4 years ago