Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Regex For Iranian Phone Numbers

^(+98|0)?9d{9}$
<?php
	var_dump(preg_match("/^(0)?9d{9}$/", "09159065674"));
?>
Comment

regex for iranian phone number

'^(+98|0|0098)?9d{9}$'
Comment

PREVIOUS NEXT
Code Example
Php :: PHP File Read Modes 
Php :: PHP Read File modes 
Php :: Syntax error or access violation: 1071 Specified key was too long; 
Php :: wordpress exclude current post from loop 
Php :: how to get current location latitude and longitude in php 
Php :: sending data from one website to another in php 
Php :: foreign key laravel migration 
Php :: take and skip in laravel 
Php :: offset codeigniter 3 
Php :: clear laravel.log 
Php :: php datetime set timezone 
Php :: php array length for loop 
Php :: laravel check if object is empty 
Php :: php regular expressions 
Php :: hello world php 
Php :: insert data using mysqli in php 
Php :: php check for null 
Php :: fetch data from live website curl php 
Php :: Wordpress admin settings form 
Php :: how to get product id by sku in woocommerce 
Php :: Create a laravel project with any version 
Php :: Ways to write comments in PHP 
Php :: php get src content from image tag 
Php :: convert text file to json php 
Php :: subdomain in laravel and xampp 
Php :: add custom style to wordpress editor 
Php :: how to join two tables in laravel 
Php :: laravel 6 tymon/jwt-auth 
Php :: php regex match numbers only 
Php :: autogenerate slug for model laravel 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =