Untitled

Anonymous
php
07/09/2023 6:08 AM
272 B
16
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...