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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -