#290 by installs
Search Regex
Search Regex adds a powerful set of search and replace functions to WordPress posts, pages, custom post types, and other data.
- Installs
- 100,000+
- Rating
- 4.7 (101)
- Updated
- 25 days ago
Set up find and replace rules that are executed AFTER a page is generated by WordPress, but BEFORE it is sent to a user's browser.
| Last updated | August 20, 2026Updated in the last 3 months |
|---|---|
| Tested up to | WordPress 7.1.4Covers WordPress 7.1.4, the current release |
| Needs WordPress | 5.0 or newer |
| Needs PHP | Not stated |
| First published | July 2, 2009 |
| Support, last two months | 0 of 1 threads resolved (0%) |
4.5 / 5 from 82 reviews
| 5 stars | 67 |
|---|---|
| 4 stars | 6 |
| 3 stars | 0 |
| 2 stars | 0 |
| 1 star | 9 |
This plugin allows you to dynamically (i.e. at the time when a page is generated) replace code and text from themes and other plugins with code and text of your choosing before a page is delivered to a user’s browser.
Because the find and replace happens in real-time no changes are needed to plugins or themes which means upgrades remain easy!
A pro version (a lifetime license is less than $15) with additional filtering options, setting export/import functionality, and the ability to modify admin pages is available.
Here are some common uses:
Here are some more examples.
And some tips for those interested in on-page SEO.
Remember, all of the above can be done WITHOUT modifying themes or plugin files so you’ll always be able to upgrade them without having to worry about losing custom edits.
The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.
In an array in the wp_options table. Just one record regardless of the number of find and replace rules.
Unless you’re using 50+ rules, you shouldn’t notice any performance impact. And if you’re using a caching plugin, even more rules won’t slow your site.
You can do a straight up find and replace where the plugin will look for an exact match of what you specified. You can also used advanced pattern matching that is available through regular expressions by checking the regex checkbox.
This will happen if you are using a rule with regex enabled and the rule has an error. Regex is tricky so I recommend starting with a simple rule and adding to it to perform the replace you want.

#290 by installs
Search Regex adds a powerful set of search and replace functions to WordPress posts, pages, custom post types, and other data.
#362 by installs
Search & Replace data in your database with WordPress admin, replace domains/URLs of your WordPress installation.
#40 by installs
A simple plugin to update URLs or other text in a database.
#94 by installs
Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real time saver!
#352 by installs
Relevanssi replaces the default search with a partial-match search that sorts results by relevance. It also indexes comments and shortcode content.
#366 by installs
Find and edit code or texts in your themes and plugins
Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.