Untitled
unknown
php
2 years ago
202 B
5
Indexable
if(preg_match('/^09(0(\d)|1(\d)|2(\d)|3(\d)|(9(\d)))\d{7}$/', $preNumber)) { //Number with 0 } if(!preg_match('/^9(0(\d)|1(\d)|2(\d)|3(\d)|(9(\d)))\d{7}$/', $preNumber)) { //Number without 0 }
Editor is loading...