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