Page no: P80
Page no: Plug80
WordPress plugin directory: Search Regex
Search Regex adds a powerful set of search and replace functions to WordPress. These go beyond the standard searching capabilities, and allow you to search and replace almost any data stored on your site. In addition to simple searches you have the full power of PHP’s regular expressions at your disposal.
The driving force behind this plugin is to aid in website migration and upgrading. If you’ve ever done either of these then you know the pain of having to go back through all your data, changing URL paths and fixing things. With this plugin you can reduce this work to a search and replace pattern and the job is finished in seconds.
Why would you want this? The primary reason for the plugin was to aid in relocating directories. It’s a real pain to manually go through every post and change image directory names. With this plugin all that was required was a simple search and replace pattern, and the job was finished in a few seconds.
Search Regex is available in the following languages:
This page presents the replace regular expression plugin for WordPress. It is a plugin that is able to replaces all regular expression on a WordPress website.
The plugin does not have updates for a couple of months. Currently it only finds expressions, but the replacement does not work anymore.
As opposed to Better Search Replace, it only finds the latest version of a post and page.
Usage on snbchf.com
Need for replacing external URL by internal URLs.
Replace “http://wordpress-pro.com/blog/” by “/”
We do not know yet if the page http://wordpress-pro.com/blog/ will be replaced by a different URL one day. Therefore we use only internal URLs for internal references. This includes the links to the images inside the page/post. On this page, for example, we use a Custom URL
/wp-content/uploads/2015/05/Regular-Expressions.png instead of the
Media URL /wp-content/uploads/2015/05/Regular-Expressions.png
See more for