fork download
  1. <?php
  2.  
  3. $str = '/Date(770094000000-0300)/';
  4. preg_match( '/\d+\-\d+/', $str, $match );
  5. var_dump( $match );
Success #stdin #stdout 0.02s 20568KB
stdin
Standard input is empty
stdout
Standard output is empty