Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
\b[\s(.)\d-]{6,}\d\b
"
g

Description

Find all telephones in text: 968123123 968 123 123 968.123.123 968 12 12 12

Submitted by anonymous - 8 years ago