String replace with Regular Expressions : String Replace : String PHP Source Code


PHP Source Code » String » String Replace »

 

String replace with Regular Expressions




<?
$old_string = "I really love programming in ASP!";
$new_string = ereg_replace("ASP""PHP", $old_string);
echo "$new_string";
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo String
» String Replace