note 89407 modified in function.ereg-replace by danbrown

From: Date: Fri, 06 Mar 2009 15:18:52 +0000
Subject: note 89407 modified in function.ereg-replace by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151556@lists.php.net to get a copy of this message
<?php // highlights the recognized patterns (a good tool for experiments) $output = ereg_replace("your regexp here", "<font color=red>\\0</font>", $input) print $output; ?> --was-- // highlights the recognized patterns (a good tool for experiments) $output = ereg_replace("your regexp here", "<font color=red>\\0</font>", $input) print $output; http://php.net/manual/en/function.ereg-replace.php

« previous php.notes (#151556) next »