im looking for a way, to replace a word inside a certain text area. I already found the code:
UPDATE table_name SET field = REPLACE(field, 'word1', 'word2')
But now i want to replace only the words that are inside brackets [a][/a] and not inside the brackets [b][/b]
The text in the table is structed in a way that they are different textparts, that are divided in categories [a][/a],[b][/b],[c][/c]... and now i only want to replace the words inside one of these areas and not inside the others.
Is that possible?