I have a TEXT field that contains a lot of text, at some point I have == Gallery == Random text ==Source==
.
I want to know if there is a way to replace == Gallery == Random Text
with nothing (just remove) with just MySQL ?
Currently working with this update
update `wiki_article_revisions`
set `opcode` = replace(`opcode`, '== Gallery == ==Sources==', '');
but I can't find a way to detect the random text between those two text snippets.