There were time where I have to take down a web apps and making thousands of URL reference broken. So the only way to fix that is to remove all those links. Thankfully wordpress has a vast variety of regex search and replace.

I am using Search Regex plugins (You can find it on WP Plugins directory)

/<a href="http:\/\/www\.domain\.com\/subfolder\/[^>]*>([\s\S]*?)<\/a>/

Refer to the screenshot below.

Screen Shot 2016-06-20 at 2.16.49 PM

Leave A Comment

Your email address will not be published. Required fields are marked *