3 messages in com.mysql.lists.mysqlRegex problem..
FromSent OnAttachments
Gregory Machin25 Jul 2005 12:45 
Michael Stassen25 Jul 2005 12:56 
Lamont R. Peterson25 Jul 2005 13:09 
Subject:Regex problem..
From:Gregory Machin (greg@gmail.com)
Date:07/25/2005 12:45:10 PM
List:com.mysql.lists.mysql

Hi.

Please could you advise me... I have php pages that are stored in a mysql database, that will later be imported into a cms I want to use mysql's regex funtion to remove unwanted php code and update links to images and urls.

But i cant seem to get my brian around the regex part ...

i want to remove the header include <?php require("./include/header1");?> i tried <\?php[^>][header1].*\?> , and other attempts but no luck .. unfortunetly i can do a normal string replace because of varations,in the code ...

Many Thanks