Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^((tel:\/\/|sms:\/\/))?([+])?([0-9]+)
/

Description

Easly to check tel:// or sms:// protocols.

Submitted by Erdem Arslan - 10 years ago