Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
([Тт]ел[\p{L}|\.|\w|\s]*)<[^t][^r]*?>[\+|\s]?([\d|\s|\(|\)]{10,})
/

Description

Searching for phone in HTML where content in 1-st tag descibes phone type in some next tag

Submitted by Akella - 9 years ago