Hi!

Why canīt i get this code to work:
$html = $_POST["htmlIn"];

$patterns[0] = "/<strike>/";
$patterns[1] = "/</strike>/";
$patterns[2] = "/align=\"left\"/";

$replacements[0] = "<del>";
$replacements[1] = "</del>";
$replacements[2] = " style=\"text-align:left;\"";

$xhtml = preg_replace($patterns, $replacements, $html);

Thanx In Advance
Jay

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to