i have this text:
<p>[img ret872154ftu] fileaddress [/img ret872154ftu]</p>
<p>[img fd68721cvn] fileaddress [/img fd68721cvn]</p>
<p>[img xdfh654t] fileaddress [/img xdfh654t]</p>
i like change to this
<p>[img] fileaddress [/img]</p>
<p>[img] fileaddress [/img]</p>
<p>[img] fileaddress [/img]</p>
this code is tested but not worked
UPDATE `table` SET `name` = replace(`name`, '[img (anything)', '[/img]');
please help