Location: PHPKode > projects > Non-Point Source Model Development Tool > src/test_ereg.php
<?php

$indate = 'TEMP                38 44 46 42 38 36 35 34 39 47 50 46 43 41 40 38 41 45 46 41';
$format = "([ A-Z0-9a-z]{13})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})([ 0-9]{3})";

ereg($format,$indate, $parsed);

print("$indate \n");
print("$format \n");
print_r($parsed);



?>
Return current item: Non-Point Source Model Development Tool