Is "Ereg replace" possible ?
Posted by:
atmaweapon
Date: August 06, 2005 07:15AM
Hi everyone !
I'd like to make a "query replace" using regular expression in my records... Is it possible ?
Something like this :
UPDATE my_table SET myField="\1bar\2" WHERE myField="(.*)foo(.*)";
I don't know if MySQL even permit this ... but I'd like to prevent me from making a php script which update every rows where the ereg is satisfied and replace the old one with a new one...
Subject
Written By
Posted
Is "Ereg replace" possible ?
August 06, 2005 07:15AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.