I\'ve got a table with blob text fields. This blob has a lot of html in it. One of the pieces of html is an h2. I would like to find all instances of a word in the h2 tag, a
There is no regexp replace feature in mySQL proper: The regex functions are match only.
There seems to be a user defined function that adds the functionality somehow, but it requires re-compiling mySQL and is probably not an option.
I'd recommend doing this using a programming/scripting language like PHP, using its built-in regex replace functions to change the content, and update the records.
Edit: overlooked the php
tag.