preg_replace Guru question
| From: | pete M | Date: | Thu, 27 Nov 2003 13:17:42 +0000 |
| Subject: | preg_replace Guru question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171203@lists.php.net to get a copy of this message | ||
What Preg_replace code would I need to highlight all the code within the "<script </script>" tags in red.. (case insensitive)
What I want is a view_source.php page to highlight the javascript for a tutorial I'm writing. Can view the source ok but need to highlight the code.
Not a regular expression expert ;-(
tia
Pete