Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
.*\d{1,3}.*[\n ,]\d{4,5}([- ]\d{4,5})? [^\n]+([\n ,](France|Suisse|Allemagne|Italie|Germany|Deutschland|Italia))?
/
gm

Description

Find european address (France, Italy, Suisse, Germany)

Submitted by Anthony Chaussin - 4 years ago