fork download
  1. <?php
  2. $string = "(11) 9.9999-9999";
  3. $ddd = preg_split("/\(|\)/", $string);
  4. echo $ddd[1];
Success #stdin #stdout 0.02s 23636KB
stdin
Standard input is empty
stdout
11