Better Find and Replace

Description

The plugin provides an optimized search and replace function, providing an effective solution for efficient database management. Additionally, it incorporates a dynamic real-time word / text replacing feature.

The real-time option employs a advanced word masking technique to search and replace text, url ( anything ), leaving no trace behind. The find and replace process takes place before the website is
rendered in the browser and does not impact any other files or databases. With this ultimate solution, easily find and replace text, HTML code, media/image URLs, footer credits,
or any other content within your website without touching the database with the help of an easy-to-use user interface.

On the other hand, the permanent replace ensuring that any replaced text, URL etc is eliminated from your database permanently.
The plugin is equipped with powerful features that allow you to visualize the results of search and replace content within your database as well as permanently erasing it. It has the ability to
search within complex, serialized data structures and replace them with your own words, making it a powerful tool for managing website content for beginners and experienced users alike.
Additionally, it allows for the removal or un-setting of any element in serialized data by specifying its key.

Key Features

  • Easy to use and user-friendly options
  • Search and replace any text
  • Search and replace text loaded by Ajax / jQuery
  • Find and replace URLs
  • Search and replace images, attachment URLs etc..
  • Create word masking with find-replace over the whole website
  • Create find-replace temp rules without touching database.
  • Remove or change footer credit without touching database or HTML code
  • Replace anything in HTML code
  • Replace images in real-time rendering
  • Mask bad words posted in comments
  • Change different language’s content to your own language
  • RegEx supported
  • Replace any HTML tag or attribute
  • Lighting first find-replacement in Database table’s ( posts, postmeta, options )
  • Select a specific database table to replace content
  • Dry Run to see what will be change on Database
  • Search and replace Whole Words Only in Database
  • Ultimate powerful options for Search and replace Serialized Data in Database
  • Remove any item from Serialized Data in Database
  • Assign a specific role to manage this plugin for lower level of users
  • Real-time find and replace compatible with Gutenberg and other block / page builders
  • Refine your search results for database replacements by targeting post or page titles, content, or excerpts.

How to replace in DB?

  • First create a report by selecting dry run from bottom of the setting section
  • Report will appear in a modal window. You can check there which row / data is going to be replaced.
  • On the report’s, if you think the replacement is perfect which you want, then close the report window and un-check the dry run and click the Find & Replace button.
  • Attention: Please check the report and make sure which data you are going to replace. It’s very important because once you replace it in the Database you can’t un-done it.
  • important: So, before replacing in the database create a dry run report and see if it’s perfect or not. If it’s wrong change the find keyword then try again the same procedure until you see it’s perfect on the report.

Pro Features

  • Database Replacement Features:

    • Powerful search and replace in database
    • Ultimate solution for search & replace in serialized data & remove item
    • Automatic backup of the search and replacement data
    • Ultimate easy solution for restore data what you have replaced by mistake
    • Ability to check & replace each item separately which going to be replaced in the database
    • Bulk Replacement on report’s page, generate by dry run option
    • All tables in database
    • Search and replace Unicode Characters UTF-8 ( e.g: U+0026, REČA ) in Database
    • Additional filtering options in default / custom URLs
    • Filter new comments before inserting into Database
    • Filter new post before inserting into Database (Good for auto post generation website)
    • Special feature to search and replace in large table
  • Real-Time Rendering Features:

    • RegEx supported
    • Advance Regex – Powerful code blocks / multi-lines find and replace in real-time (masking) rendering
    • Advance Regex – Any (CSS / JS / HTML) code Block find and replacement in real-time (masking) rendering
    • Masking on Shortcodes
    • Advance filtering options :-
      • Case insensitive – search and replace case sensitive or insensitive
      • Whole Word – search and replace whole word
      • Unicode – search and replace Unicode Characters
      • Skip posts / page / custom taxonomies etc.. urls
      • Skip CSS – External, Internal, Inline
      • Skip JavaScript – External, Internal
      • Skip pages – if you don’t want to apply rules on any specific page
      • Skip posts – if you don’t want to apply rules on any specific posts
      • Bypass rule – keep texts unchanged on specific area with special pattern
      • Bypass rule – keep base links / urls ( post, pages, custom taxonomies etc..) unchanged where find word exists in that URL.

Advance Regex – Code blocks / multi lines find and replacement example – (Real-time Rendering)

Find code block and replace with your own or keep blank *replacement field to remove code block. Let consider the following CSS code block for replace. Put following
code block in find field*

<style media="screen">
    html { margin-top: 32px !important; }
    * html body { margin-top: 32px !important; }
    @media screen and ( max-width: 782px ) {
        html { margin-top: 46px !important; }
        * html body { margin-top: 46px !important; }
    }
</style>

Then put following code block in *Replace field to replace the above code block*

<style>
.site-title a{color: red;}
</style>

Join the elite web professionals who enjoy Better Find And Replace Pro!

➡️ Basic Documentation To Get Started

  • Setup Video Guide – How to install and setup search and replace rules

👉 Real-time search and replace

👉 Search and replace in Database

Forum and Feature Request

For Quick Support, feature request and bug reporting

Visit our forum to share your experience or request features

As it’s open source, check our github development Status

Screenshots

  • Add Find Rule – Plain Text
  • Add Find Rule – RegEx
  • Add Find Rule – jQuery / Ajax Text
  • List of All Masking Rules
  • URLs replacement in Database
  • Media replacement in Database
  • Dry run report
  • List of All Masking Rules with pro features

Installation

  1. Upload the real-time-auto-find-and-replace folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

1 novembra, 2024
I tried the plugin, only because they had money back guarantee. When the plugin did not work, I asked for the money back. They redirected me to the refund policy page and to reply after reading it, then they ghosted for a couple of mails, until I told I will give 1 star review if they do not act upon their money back guarantee. Then they responded this. “As you are not understanding any policies you accepted for during purchase. Now are are blackmailing for feedback. Refund policies are clearly mentioned on our refund page. I think you are a child and not understanding any rules.So, we have decided to refund you. You will get refund 3-5 business days.” Even though you gave money back your customer service is terrible, seem to have personal issues and take them unto their clients. Hence 1 star, I don’t recommend this, in case you need a quality plugin with great customer service.
14 oktobra, 2024
I needed to change some colors on the website and the font which was individually defined in a lot of modules. Both tasks were so easy to perform with this plugin. No need to write DB query in SQL, just search and replace, job done!
30 septembra, 2024
It helped me so much when I moved my blog from one domain to another. It’s almost a 5 star but all the promotional alerts it puts out is a bit spammy. I wanted to remove it because of that but then it removes the changes so I have to deal with the alerts. But I am glad I used it and I recommend it.
Read all 145 reviews

Contributors & Developers

“Better Find and Replace” is open source software. The following people have contributed to this plugin.

Contributors

“Better Find and Replace” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Better Find and Replace” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Version: 1.6.4 ( October 02, 2024 )

  • Update: Translators updated
  • Fix: Notification issue
  • Fix: Little bug fixed
  • Update: Added quick help and supports links

Version: 1.6.3 ( August 12, 2024 )

  • Fix: Little bug fixed

Version: 1.6.2 ( July 26, 2024 )

  • Fix: Security patch updated

Version: 1.6.1 ( July 17, 2024 )

  • Fix: Security patch updated to enhance data organization

Version: 1.6.0 ( July 01, 2024 )

  • New: Refined Search Results – Narrow your search for precise database replacements.
  • New: Targeted Content – Focus on post or page titles, content, and excerpts for more control.

Version: 1.5.9 ( April 13, 2024 )

  • Upgrade: Updated for WordPress latest version

Version: 1.5.8 ( March 13, 2024 )

  • Upgrade: Code updated for smooth functionalities
  • Upgrade: Hooks updated for modernize

Version: 1.5.7 ( February 26, 2024 )

  • Upgrade: Minor JS issue updated

Version: 1.5.6 ( January 09, 2024 )

  • Upgrade: Minor issue fixed on Real-time word masking
  • Upgrade: JS has modernize

Version: 1.5.5 ( November 14, 2023 )

  • Upgrade: Updated for WordPress latest version

Version: 1.5.4 ( September 27, 2023 )

  • New: Search and replace jQuery / Ajax loaded text – Advanced option ( pro )

Version: 1.5.3 ( August 24, 2023 )

  • Fix: Possible conflict fixed on JS
  • Upgrade: JavaScript has updated for modern browsers

Version: 1.5.2 ( August 06, 2023 )

  • Improvement: Optimized for the WordPress latest version
  • Upgrade: Database search and replace speed updated

Version: 1.5.1 ( June 22, 2023 )

  • Fix: Fixed issue created on previous version

Version: 1.5.0 ( June 19, 2023 )

  • Upgrade: Real-time find and replace compatible with Gutenberg and other block / page builders
  • Upgrade: Real-time find and replace buffering speed updated
  • Upgrade: jQuery / Ajax loaded text replacer for real-time find and replace

Version: 1.4.9 ( May 15, 2023 )

  • Fix: preg_replace – issue on real-time find and replace
  • Fix: Pro plan activate issue

Version: 1.4.8 ( May 04, 2023 )

  • Upgrade: Speed up on Real-time word masking
  • Upgrade: Database search replacement results
  • Upgrade: Multi-byte charset

Version: 1.4.7 ( April 03, 2023 )

  • Fix: Multi-byte charset issue fixed
  • Upgrade: Optimized query in real-time search & replace
  • New: Country-based search and replace for real-time
  • New: language-based search and replace for real-time

Version: 1.4.6 ( February 21, 2023 )

  • New: Use your own REGEX for real-time find and replace
  • New: Find & Replace in Multibyte characters ( Supported lang: Arabic, Chinese etc )
  • New: Real-time Search and replace any HTML tags ( pro PRO / pro EXTEND )

Version: 1.4.5 ( February 06, 2023 )

  • Upgrade: Rules re-writing and rendering
  • Upgrade: Speed upgrade on real-time rendering

Version: 1.4.4 ( January 24, 2023 )

  • Fix: Little bug fixed
  • Upgrade: Speed up on real-time DOM loading

Version: 1.4.3 ( December 08, 2022 )

  • Upgrade: JavaScript updated to fix little issue
  • Upgrade: Speed up for real-time search and replace

Version: 1.4.2 ( October 24, 2022 )

  • Fix: Speed up on real-time search replace
  • Fix: Bug fixed on real-time search replace
  • Update: Upgraded database replacement functionalities

Version: 1.4.1 ( September 19, 2022 )

  • Upgrade: JavaScript code has been modernize for latest browsers
  • Improvement: Support docs added

Version: 1.4.0 ( August 21, 2022 )

  • Fix: Bug fixed on real-time search replace
  • Fix: Speed up on real-time search replace
  • Upgrade: Rules saving updated more smoothly

Version: 1.3.9 ( August 19, 2022 )

  • New: Assign a specific user role to manage this plugin
  • New: Single access level can be assign by most popular “User Role Editor” or “PublishPress Capabilities” plugin
  • New: Group access level can be assign by most popular “User Role Editor” plugin
  • New: Capabilities – bfar_menu_add_new_rule, bfar_menu_all_replacement_rules, bfar_menu_replace_in_database, bfar_menu_restore_in_database

Version: 1.3.8 ( July 26, 2022 )

  • New: Screen options
  • New: Initiated language support
  • New: Clear log function – Restore in Db + All replacement rules section ( pro )
  • Fix: Small bug on Export ( pro extend )

Version: 1.3.7 ( June 15, 2022 )

  • New: Special feature to search and replace in large table – ( pro extend )
  • Improvement: Bulk replacement (pro)
  • Improvement: Popup report page cleanup

Version: 1.3.6 ( May 25, 2022 )

  • New: Search and replace on a specific page or post (real-time) – (pro)
  • Improvement: On Ajax / jQuery rule – added skip post / page options
  • Improvement: Media/images URL/path updater
  • Improvement: Removed integrated jQuery to reduce script size to load faster
  • Improvement: PHP 8 compatible, checked up to: 8.1.4
  • Update: Updated Sweetalert2 version to: 11.4.14
  • Update: Updated Select2 version to: 4.0.13
  • Fix: Data sanitize issues

Version: 1.3.5

  • Fix: Data sanitize issues

Version: 1.3.4

  • Fix: Activation hook updated
  • Improvement: Search and replace speed on database feature

Version: 1.3.3

  • Improvement: WordPress 5.9 & PHP 8 compatible

Version: 1.3.2

  • Feat: Export / Import rules – (pro)
  • Feat: Export / Import Database replacement logs – (pro)

Version: 1.3.1

  • Improvement: Speed up on Database replacement section
  • Improvement: serialize data replacement algorithm
  • Fix: PHP warnings

Version: 1.3.0

  • Improvement: string replacement
  • Improvement: loading time

Version: 1.2.9

  • Fix: Security issues

Version: 1.2.8

  • Improvement: WordPress 5.8 compatible
  • Improvement: Database search and replacement

Version: 1.2.7

  • Improvement: Database search and replacement

Version: 1.2.6

  • Feat: Masking rule on Shortcodes (pro)
  • Feat: Masking on Old Comments – (pro)
  • Feat: Skip posts – if you don’t want to apply rules on any specific posts – (pro)
  • Feat: Automatically filter New Posts before inserting into Database (good for auto posting websites) – (pro)
  • Feat: Automatically filter New Comments before inserting into Database – (pro)

Version: 1.2.5

  • Fix: Database search replace: PHP error: Cannot access property started with ‘\0’

Version: 1.2.4

  • Fix: WP_Scripts::localize PHP Notice

Version: 1.2.3

  • Improvement: Database find and replacement
  • Improvement: WordPress 5.7 compatible

Version: 1.2.2

  • Bug Fix: bug fixed

Version: 1.2.1

  • Feat: Skip pages ( if you don’t want to apply rules on any specific pages ) – pro
  • Improvement: Real-time find and replacement

Version: 1.2.0

  • Bug Fix: Replacement bug fixed
  • Improvement: Improved database search and replace

Version: 1.1.9

  • Improvement: Ajax search & replace
  • Drop: Droped ajax search & replace by tag selector

Version: 1.1.8

  • Improvement: Database search and replacement

Version: 1.1.7

  • Feat: Serialized data supported ( find & replace or remove item by it’s key )
  • Feat: Automatic backup options – pro
  • Feat: Restore data – pro

Version: 1.1.6

  • Improvement: Database search and replacement
  • Improvement: Special characters on Database search and replacement

Version: 1.1.5

  • Improvement: Ajax find and replacement
  • Feat: Advance filters for CSS rule (pro)
  • Feat: Advance filters for JavaScript (pro)

Version: 1.1.4

  • Improvement: Real-time find and replacement
  • Feat: Real-time find and replacement – advance filtering( skip base urls) (pro)

Version: 1.1.3

  • Improvement: Real-time find and replacement
  • Feat: Real-time find and replacement – advance filtering (pro)
  • Feat: Real-time find and replacement – bypass rule (pro)

Version: 1.1.2

  • Improvement: DB search and replacement

Version: 1.1.1

  • Improvement: DB search and replacement multiple search to single downgraded

Version: 1.1.0

  • Improvement: RegEx improved for real-time find and replace
  • Feat: Find and replace code blocks – pro

Version: 1.0.9

  • Improvement: Database Search and Replacement
  • Feat: Whole Word Only – search on database
  • Feat: Search Unicode Characters in DB – pro

Version: 1.0.8

  • Improvement: Multiple selection

Version: 1.0.7

  • Fix: Notification issues

Version: 1.0.6

  • Feat: Dry run on database search
  • Feat: Reports on dry run search
  • Feat: Case-insensitive search in database

Version: 1.0.5

  • Change: Plugin name changed – Real Time Auto Find and Replace to Better Find and Replace
  • Feat: jQuery / Ajax loaded text replacement
  • Feat: Database table selection / filter
  • Feat: URLs replacement with filtering options

Version: 1.0.4

  • Fix: Notification issues

Version: 1.0.3

  • Fet: RegEx Supoorted

Version: 1.0.2

  • Fet: Replace in Database
  • Improvement: Find-Replace speed up
  • Brand new user-interface

Version: 1.0.1

  • Improvement: Imporved some codings
  • Fix a bug.

Version: 1.0.0

  • Fix a bug.

Version: 0.5

  • Initial release.