Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

1

Regular Expression
Python

r"
^(\+[0-9]{1,2})?(\.|\ |\-)?([0-9]{1,3}(\.|\ |\-)?){5,6}$
"
mg

Description

International / national format allowing space or dots as separator.

Submitted by anonymous - 4 years ago