Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^[1]{1}[7-9]{1}\d{6}$|^[2]{1}[0-2]{1}\d{6}$
/
gmi

Description

mã số có 8 kí tự bắt đầu từ 17-22 ///^[1]{1}[7-9]{1}\d{6}$|^[2]{1}[0-2]{1}\d{6}$/gmi

Submitted by anonymous - 2 years ago