WordPress Search Regex Plugin

The Search Regex plugin for WordPress is an essential plugin to have when you need to make multiple post/page edits at once. The plugin allows one to search for a string and report results, show what would happen if a string was replaced in multiple posts/pages, and perform the actual task. The plugin also supports regular expressions.

In my case, I needed to replace all references of “lightbox” in my posts/pages to “lytebox” instead. Here is an example:

Search Settings
(click to view)

Although the screenshot above does not show it, I am replacing “lightbox” with “lytebox” which yeilded 646 hits:

Search Results

I would, of course, backup your WordPress database before doing anything too complicated in case things go wrong. This plugin and many more can be found on my WordPress page.

Tags:

Friday, November 16th, 2007 Software

No comments yet.

Leave a comment

You must be logged in to post a comment.

Search

 

Categories