Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(\b|^)([А-Яа-яA-Za-z]{2,7}\s*(\(.{1,3}\)){0,1}[\s-]+[А-Яа-яA-Za-z]*)\s*((\d{1,4}[-\+\/xXхХ\*][\d,]{1,4})+\s*[a-zA--яА-я]{0,3}(\(.{1,4}\)){0,1}\+*){1,3}-*[\d,]{0,4}\s*[A-Za--Яа-я\(\)]{0,4}(\b|$)
/
g

Description

no description available

Submitted by anonymous - 7 years ago