Recently I moved my blog from Wordpress to
, and that involved a lot of content fixing. One of the problems was that during the export not all HTML code was correctly transferred to markup. So I needed fix (replace) all pending
<a href="https://spidersoft.com.au">spidersoft</a> to
What we need is just 2 simple regular expressions.
One to find links
Second one to replace them in reverse order
You can run this in basically any IDE - Sublime will do the job, I was using PHPStorm
Same thing you can do with
<pre> or embedded images.