I have to do a large replacement on a wp_posts.sql and I want to remove all the <a href> and </a> tags. I am trying to do this with VIM but I cant figure out the regular expression for it.
2 Answers
If you're familiar with python, the Beautiful Soup module performs magic on html. It might be worth your while to look into it.
<a href="javascript:f(a>b)">.