I have tried to replace the attachment codes via command :
UPDATE xf_post SET message = REPLACE(message, 'x', 'y');
but it didnt work.
Attachment codes in "table posts" are replaced correctly in db but when viewing posts in forum we still see the old codes.
Any other solutions ?