I have about 40000 records in that table that contains plain text and within the plain text, contains that kind of tags which its only characteristic is that they are braced between [ ]
the caption goes here
How could I remove those? (replace by nothing)
I could also run a PHP program if necessary to do the cleanup.
Try
Note:
, justwill not match)"attachment_2948")\"inside the attributes quotes (this will not work –"attachme\"nt_2948")goes here"])