Block Editor Search & Replace

Block Editor Search & Replace

Block Editor Search & Replace for WordPress - Find and Replace Text, Links & Images Plugin

Contributors: krasenslavov, developry

Donate Link: https://krasenslavov.com/hire-krasen/

Tags: search replace, find replace, wordpress search, text replace, link replace

Requires at least: 5.0

Tested up to: 6.8

Requires PHP: 7.2

Stable tag: 1.4.1

License: GPLv3 or later

License URI: https://www.gnu.org/licenses/gpl-3.0.html

WordPress search and replace plugin. Find and replace text, links, images in Block Editor. Search and replace content in Gutenberg with instant highlighting.

Description

Search and replace text, links, and images instantly with Block Editor Search & Replace - the powerful find and replace plugin for WordPress that works directly in the Gutenberg editor.

Stop manually finding and replacing text throughout your WordPress content. Block Editor Search & Replace adds instant search and replace functionality directly in the WordPress Block Editor, highlighting all matches and letting you replace text, update links, or swap images with one click. No database access required - everything works visually in the editor you already use.

Whether you're fixing typos, updating URLs, replacing images, or bulk editing content, Block Editor Search & Replace makes WordPress find and replace operations fast, visual, and safe.

Why Choose Block Editor Search & Replace?

  • WordPress Search & Replace - Find and replace in Block Editor instantly

  • Visual Highlighting - See all search matches highlighted in content

  • Replace Text - Update text, links, and images with one click

  • Gutenberg Integration - Native WordPress Block Editor search and replace

  • Classic Editor Support - Works with both Gutenberg and Classic Editor

  • No Database Risk - All changes in editor before saving

How WordPress Search & Replace Works

  1. Install and activate Block Editor Search & Replace on your WordPress site

  2. Edit any post or page in the WordPress Block Editor

  3. Find Search & Replace metabox in the right sidebar

  4. Enter search term to see all matches highlighted instantly

  5. Enter replacement text and click Replace

  6. Save post to apply WordPress find and replace changes

Zero configuration required - works immediately with WordPress posts, pages, and content.

Perfect For

  • Content Editors fixing typos across WordPress content

  • Website Managers updating URLs and links in WordPress

  • WordPress Developers replacing image URLs efficiently

  • SEO Specialists updating keywords in WordPress posts

  • Bloggers batch editing WordPress content quickly

  • Agencies managing client WordPress content updates

WordPress Search & Replace Features

Find and Replace Text in WordPress

Search WordPress content for any text string and see all matches highlighted instantly in the Block Editor. Replace text with case-sensitive or case-insensitive matching. Update multiple occurrences with one click or selectively replace specific instances.

WordPress Link Replace

Find and replace links in WordPress content without editing HTML. Search for old URLs and replace with new links instantly. Perfect for updating affiliate links, changing domains, or fixing broken URLs across WordPress posts and pages.

WordPress Image Replace

Search for image URLs and replace with new images in WordPress Block Editor. Update image sources, swap CDN URLs, or replace broken image links. Visual highlighting shows exactly which images will be replaced before you commit changes.

Visual Search Highlighting

Every search match is highlighted directly in your WordPress content with visual markers. See exactly what will be replaced before clicking the replace button. Remove highlighting tags with one click to restore original WordPress content view.

Case-Sensitive WordPress Search

Toggle case-sensitive search for precise WordPress find and replace operations. Match "WordPress" differently from "wordpress" or search case-insensitively to find all variations of text in your WordPress content.

Multiple Search Terms

Search and replace multiple terms simultaneously in WordPress. Separate search phrases with commas to find and replace several text strings in one operation. Massive time-saver for bulk WordPress content editing.

Usage

Once the WordPress search and replace plugin is installed and activated:

  1. Edit any post or page in WordPress Block Editor (Gutenberg)

  2. Look for Search & Replace metabox in the right sidebar

  3. Select search method: Text, Links, or Images

  4. Enter search phrase to highlight all matches

  5. Enter replacement text

  6. Click Replace to update WordPress content

  7. Click Remove Tags to clear highlighting

Here are the steps to use Block Editor Search & Replace:

  1. Select Method - Choose Text, Links, or Images for WordPress search

  2. Enter Search - Type search phrase to find in content

  3. See Highlights - All matches highlighted instantly in Block Editor

  4. Enter Replace - Type replacement text for WordPress content

  5. Click Replace - Update all matches with one click

  6. Toggle Options - Use case-sensitive search or multiple terms

  7. Remove Tags - Clear highlighting after WordPress replacement

Note: Custom post types and advanced features (RegEx, undo, history) available in Pro version.

WordPress Search & Replace Settings

Text Search & Replace:

  1. Open WordPress post in Block Editor

  2. Find Search & Replace metabox in sidebar

  3. Select Text method

  4. Enter search phrase (highlights appear instantly)

  5. Enter replacement text

  6. Toggle case-sensitive option if needed

  7. Click Replace to update WordPress text

Link Search & Replace:

  1. Select Links method in metabox

  2. Enter old URL to find in WordPress links

  3. Enter new URL for replacement

  4. All matching links highlight in content

  5. Click Replace to update WordPress links

  6. Save post to apply link changes

Image Search & Replace:

  1. Select Images method in metabox

  2. Enter old image URL to find

  3. Enter new image URL for replacement

  4. Matching images highlight in WordPress content

  5. Click Replace to swap images

  6. Save post to update WordPress images

Global Plugin Settings:

  1. Go to Block Editor S/R in WordPress admin menu

  2. Editor Controls - Enable/disable for Block Editor or Classic Editor

  3. User Roles - Limit which WordPress roles can use search and replace

  4. Post Types - Select post types for WordPress search and replace

  5. Save settings to apply preferences

Supported WordPress Content:

  • Posts

  • Pages

  • Text content

  • Links (href attributes)

  • Images (src attributes)

Features & Limitations

The Block Editor Search & Replace WordPress search and replace plugin allows you to:

  • Find and replace text in WordPress Block Editor instantly

  • Search and replace links in WordPress content visually

  • Replace images in WordPress posts and pages

  • See all search matches highlighted in Gutenberg

  • Use case-sensitive or case-insensitive WordPress search

  • Replace multiple terms simultaneously in WordPress

  • Search and replace in Classic Editor for WordPress

  • Remove highlighting tags with one click

  • Control which WordPress roles can use search and replace

  • Enable search and replace for specific WordPress post types

  • Preview all matches before replacing in WordPress content

  • Update text, links, and images without database access

WordPress Search & Replace Components

Visual Highlighting

Every WordPress search match is highlighted directly in Block Editor content with colored markers. See exactly what text, links, or images will be replaced before committing changes. Remove highlighting instantly with one-click tag removal.

Text Search Engine

Fast WordPress text search finds all occurrences instantly. Case-sensitive and case-insensitive matching options. Search for exact phrases or multiple terms separated by commas. Highlights appear in real-time as you type.

Link Replacement Tool

Find WordPress links by URL and replace with new links. No HTML editing required - search and replace works visually in Block Editor. Perfect for updating affiliate links or changing domains across WordPress content.

Image URL Updater

Search WordPress image sources and replace with new URLs. Update CDN links, fix broken images, or swap image URLs across WordPress posts. Visual highlighting shows which images will change.

Classic Editor Integration

WordPress Classic Editor gets identical Search & Replace metabox with same functionality. Find and replace text, links, and images in Classic Editor for complete WordPress backward compatibility.

Gutenberg Block Editor Integration

Native WordPress Gutenberg integration adds Search & Replace metabox directly to Block Editor sidebar. All find and replace operations work seamlessly within WordPress Block Editor interface.

Known Limitations

Free version features:

  • Search Types - Text, Links, and Images in WordPress content

  • Highlighting - Visual markers show all search matches in Block Editor

  • Case Sensitivity - Toggle case-sensitive WordPress search on/off

  • Multiple Terms - Replace several phrases at once in WordPress

  • Editors - Full Block Editor and Classic Editor support

  • Post Types - Posts and Pages (Custom post types in Pro)

  • Undo - Manual undo only (One-click undo in Pro)

  • History - No operation history (Full history in Pro)

  • RegEx - Basic search only (RegEx support in Pro)

Detailed Documentation

Find step-by-step setup guides, video tutorials, WordPress search and replace tips, and advanced techniques on the Block Editor Search & Replace Documentation page.

Block Editor Search & Replace Pro

If you're using the free WordPress search and replace plugin from WordPress.org and want Pro features, you can purchase the premium version on the Block Editor Search & Replace Pro website.

Here are some features included in the Pro version:

  • Custom Post Types - Search and replace in WooCommerce products and all CPTs

  • Complete History - Track every WordPress search and replace operation

  • One-Click Undo - Instantly revert any replacement in WordPress

  • Advanced Statistics - Detailed analytics on WordPress find and replace operations

  • Export History CSV - Download operation logs for WordPress record-keeping

  • Dry-Run Preview - Preview WordPress changes before applying

  • RegEx Support - Advanced pattern matching for WordPress search and replace

  • Shortcode Search - Find and replace WordPress shortcodes

  • HTML Search - Search and replace HTML in WordPress content

  • Partial URL Replace - Update portions of links and image URLs in WordPress

  • No Text Limits - Remove character restrictions for WordPress search

  • Multilingual - Manage WordPress content across multiple languages

  • Backup & Restore - Secure WordPress changes with backup functionality

  • Priority Support - Fast expert help for WordPress search and replace

Frequently Asked Questions

Visit the Support Forum to share your questions or requests.

We usually respond to tickets within a few days.

Feature requests are added to our wish list and considered for future updates.

How do I search and replace text in WordPress?

Edit any post in WordPress Block Editor, find the Search & Replace metabox, enter your search text, enter replacement text, and click Replace. All matching text is highlighted and replaced instantly in your WordPress content.

What's the best WordPress search and replace plugin?

Block Editor Search & Replace provides visual, safe find and replace for WordPress. Instant highlighting in Gutenberg, support for text/links/images, and no database risk make it ideal for WordPress content editing.

How to find and replace links in WordPress?

Open any WordPress post in Block Editor, open Search & Replace metabox, select Links method, enter old URL, enter new URL, and click Replace. All matching links update instantly in your WordPress content.

Can I replace images in WordPress?

Yes, select Images method in Search & Replace metabox, enter old image URL, enter new image URL, and click Replace. All matching image sources update in your WordPress Block Editor content.

Does this work with Gutenberg Block Editor?

Yes, Block Editor Search & Replace is designed specifically for WordPress Gutenberg. The Search & Replace metabox integrates natively into the Block Editor sidebar for visual find and replace operations.

Can I use this with Classic Editor?

Yes, full WordPress Classic Editor support is included. Search & Replace metabox appears when editing posts in Classic Editor with identical find and replace functionality for WordPress content.

How to search WordPress content with highlighting?

Enter search text in the Search & Replace metabox and all matches highlight instantly in your WordPress content with colored markers. See exactly what will be replaced before clicking the Replace button.

Does this search and replace in WordPress database?

No, Block Editor Search & Replace works in the WordPress editor only, not the database. Changes are made visually in Block Editor content before you save, making WordPress find and replace operations safer.

Can I search for multiple terms in WordPress?

Yes, enter multiple search phrases separated by commas. Block Editor Search & Replace finds and replaces all terms simultaneously in your WordPress content with one operation.

Will this slow down my WordPress site?

No, the plugin is optimized for WordPress performance. Search and replace operations happen in the editor only (not database queries), ensuring fast WordPress content editing.

How to undo search and replace in WordPress?

Use WordPress revision history (Post > Revisions) to revert changes, or use browser undo (Ctrl/Cmd+Z) before saving. Pro version includes one-click undo for WordPress.

Can I replace case-sensitive text in WordPress?

Yes, toggle the case-sensitive option in Search & Replace metabox. Match "WordPress" differently from "wordpress" or search case-insensitively to find all variations in your WordPress content.

Does this work with WooCommerce products?

WooCommerce product search and replace is available in Block Editor Search & Replace Pro. The free version supports WordPress Posts and Pages only.

Can I search and replace custom post types?

Custom post type support is available in Pro version. Enable search and replace for portfolios, testimonials, or any WordPress custom content type.

How to remove highlighting after search in WordPress?

Click the Remove Tags button in Search & Replace metabox to clear all highlighting markers from your WordPress content. This restores the original view without affecting replaced text.

Does this support RegEx for WordPress?

Regular expression (RegEx) search and replace is available in Pro version for advanced WordPress pattern matching and complex find and replace operations.

Screenshots

Below are screenshots showing how to access and use the WordPress search and replace plugin.

1 - Search & Replace metabox in WordPress Block Editor

2 - Text search with highlighted matches in Gutenberg

3 - Link replacement interface for WordPress

4 - Image search and replace in WordPress content

5 - Settings page for WordPress search and replace configuration

6 - Classic Editor Search & Replace metabox

Installation

Installing the WordPress search and replace plugin is straightforward. Contact support if you encounter any issues.

Requirements:

  • WordPress 5.0 or higher

  • PHP 7.2 or higher

  • Gutenberg Block Editor or Classic Editor

= Installation from WordPress =

  1. Go to Plugins > Add New

  2. Search for Block Editor Search & Replace

  3. Click Install Now then Activate

  4. Navigate to Block Editor S/R in admin menu (optional)

  5. Edit any post to see Search & Replace metabox

= Manual Installation =

  1. Download the WordPress search and replace plugin ZIP file

  2. Upload the block-editor-search-replace folder to /wp-content/plugins/

  3. Go to Plugins in WordPress admin

  4. Activate Block Editor Search & Replace

  5. Navigate to Block Editor S/R in admin menu (optional)

= After Activation =

The plugin works immediately! You'll see Search & Replace metabox when editing any WordPress post or page. To customize settings:

  1. Go to Block Editor S/R in WordPress admin menu

  2. Choose editor support (Block Editor / Classic Editor)

  3. Select user roles for WordPress search and replace access

  4. Select post types for find and replace functionality

  5. Save settings to apply WordPress search and replace preferences

  6. Edit any post to use visual search and replace in Block Editor

Quick Start:

  1. Edit any WordPress post

  2. Find Search & Replace metabox

  3. Enter search text

  4. See highlights appear

  5. Enter replacement

  6. Click Replace!

Changelog

= 1.4.1 =

WordPress Improvements

  • Fix - WP Pointers top level page ID correction for WordPress

  • Update - Pro comparison table with free vs pro WordPress features

= 1.4.0 =

Major WordPress Features

  • New - Dashboard Widget with WordPress search and replace statistics

  • New - Onboarding Notice for new WordPress users with feature highlights

  • New - 7-day delay for rating notices (no immediate popups)

  • New - Plugin activation tracking for better WordPress notice timing

  • New - Operation statistics tracking (search/replace counters)

  • New - History feature preview with Pro upgrade path

WordPress Enhancements

  • Improvement - WP Pointer shows only within first day for WordPress

  • Improvement - Reduced emoji usage per WordPress best practices

  • Improvement - Modern, clean design for WordPress notices

WordPress Security & Code Quality

  • Fix - Removed debug code from WordPress plugin

  • Fix - Added wp_unslash() for proper WordPress input sanitization

  • Fix - Changed array_key_exists() to isset() for safer WordPress checking

  • Fix - Fixed typos in WordPress class documentation

  • Update - WordPress Coding Standards compliance across codebase

  • Update - Enhanced security with comprehensive nonce validation for WordPress

  • Update - Improved WordPress user experience

  • Update - Language file (.pot) updated for WordPress translations

= 1.3.0 =

New Features

  • New - WP pointer for first-time WordPress users about settings

  • Update - WordPress language file (.pot)

  • Update - Language file header for WordPress translations

= 1.2.9 =

WordPress Security

  • Fix - Proper sanitization for WordPress register_setting()

  • Fix - Stricter nonce verification for WordPress AJAX

  • Fix - Capability checks for WordPress admin actions

  • Update - Removed deprecated load_plugin_textdomain() for WordPress

= 1.2.8 =

  • Update - Removed bitly.com links from WordPress plugin

  • Fix - Translation loading timing for WordPress

= 1.2.7 =

  • Fix - WordPress user permissions and capabilities

  • Fix - Removed _pro prefix for WordPress default settings

= 1.2.6 =

  • Update - WordPress 6.8 compatibility confirmed

= 1.2.5 =

  • New - Hide WordPress settings notices after save

  • Update - Performance optimizations for WordPress

  • Update - Code quality improvements for WordPress plugin

= 1.0.0 =

  • New - Initial WordPress search and replace plugin release

  • New - Find and replace text in Block Editor

  • New - Search and replace links in WordPress

  • New - Replace images in WordPress content

  • New - Visual highlighting for WordPress search matches

  • New - Case-sensitive WordPress search option

  • New - Multiple term search and replace for WordPress

  • New - Classic Editor support for WordPress

Full changelog available at [Block Editor Search & Replace](https://searchreplaceblocks.com/?utm_source=besnr&utm_medium=free_plugin&utm_campaign=readme_txt)

Upgrade Notice

= 1.4.1 =

Minor WordPress improvements with WP Pointer fixes and Pro comparison updates.

= 1.4.0 =

Major update with WordPress dashboard widget, onboarding, statistics tracking, and enhanced UX. Highly recommended upgrade for all WordPress users.

= 1.3.0 =

Added WP Pointer for better WordPress onboarding experience.

= 1.0.0 =

Initial release of WordPress search and replace plugin for Block Editor and Classic Editor.