PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php //$re = '/\(212\) ?[5-9]\d{8}$/m'; $re = '~.*(\(212\)) ?([5-9])\d(\d{8})*.~'; $str = '(212) 698054327'; preg_match_all($re, $str, $matches); // Print the entire match result var_dump($matches);
Show:  
Copy Clear