Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(?:(?:\+|0{0,2})254(\s*[\-]\s*)?|[0]?)?[7]\d{8}$
"
g

Description

Detects Kenyan Phonenumbers

Submitted by anonymous - 7 years ago