Regular Expressions 101

Community Patterns

Community Library Entry

3

Regular Expression
Python

r"
(^[+]\d+(?:[ ]\d+)*)
"

Description

matches: +<country_code> <phone_number> example: +52 33 3884 7720 +1 770 343 5788

Submitted by miqui - 10 years ago