Regular Expressions 101

Library entries

Lookahead phone test with formatting

Vote

1

Regular Expression
pcre

/
(?=^(?:\+|00)?(?:[\-\/\(\)]?\d){11}$)(?:00|\+)[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])[^\d]*([\d])$
/
gm

Description

Loading markdown...
Submitted by zolo - 6 years ago