$cooked = preg_replace( /* Match with these . . . */ array('/&/', '//', '/"/' ), /* Replace with these . . . */ array('&', '<', '>', '"'), /* . . . in a copy of this*/ $text ); ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl