Usually when I search and replace I use this code:
UPDATE wp_posts SET post_content = REPLACE (post_content, 'old string', 'new string');
Now I'd like to replace <h1>Title</h1>
with <table>...<h1>Title</h1>...</table>
Problem is of course that the text in between tags is different for all pages (it is a wordpress homepage).
Any ideas on how to solve this? Is it possible?