preg_replace : Replace : String PHP Source Code


PHP Source Code » String » Replace »

 

preg_replace



<?
$t = "25/12/99, 14/5/00";
$t = preg_replace"|b(d+)/(d+)/(d+)b|""\2/\1/\3", $t );

print "$t<br>";

?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo String
» Replace