regex - Regular Expression for Pakistan's mobile number -
i want regular expression mobile number start '+92' or '0' , user type onlye ten digits more.
did basic google search “regex pakistan mobile”? here solution first result:
^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$
Comments
Post a Comment