jamalfree
Active member
hi
i want to replace many codes from db with reg exp for wining time and effort please help some codes
for example
[FONT=Verdana, Arial, Helvetica, sans-serif]
i want any code begin with [FONT and endedd with ] shoud remove it
and
any code begin [COLOR endedd with ] remove it
sql
i want to replace many codes from db with reg exp for wining time and effort please help some codes
for example
[FONT=Verdana, Arial, Helvetica, sans-serif]
i want any code begin with [FONT and endedd with ] shoud remove it
and
any code begin [COLOR endedd with ] remove it
sql
UPDATE `xf_post` SET message = replace( message, '', '' ) ;
UPDATE `xf_post` SET message = replace( message, '[COLOR=#003366', '' ) ;[/QUOTE]