Better Find and Replace

Description

The plugin provides an easy way to search for a target word and replace it with your desired word. The find and replace process takes place before the website is rendered in the browser and does not impact any other files or databases.

The real-time option employs a clever 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

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

6 de mayo de 2023 1 reply
When you operating a site, there are many cases where you need to use consistent terminology. In particular, Korean is an attractive language that can be expressed in various ways when expressing foreign languages ​​as they are pronounced.In this case, even the same word can be expressed in various ways, and in this case, this plug-in is very useful. In particular, even if it is written in abbreviation, it is very suitable for displaying the original sentence on the screen, so if you are a blogger with professional content, pay attention to this plug-in. For WordPress users who operate in Korean like me, Korean translation has been completed. I don't know when it will be applied to the update because there is no PTE, but I think more Korean users will be interested in this plug-in when the translation is applied.
28 de febrero de 2023 1 reply
It's easy. Two steps required - set rule then apply. Hopefully in future update they can make it in one step to change the text permanently. Note: this tool won't change the text permanently. Once you deactivate the plugin the effect will go away.
8 de abril de 2023
This is the easiest and best working free plugin I have used in awhile. Did exactly what it said it would do, and did it fast, and perfect. Normally I pay someone to do database edits on my website, but decided to give this plug in a try, and I'm glad I did.
23 de febrero de 2023
I build sites on temporary domains and then use this plugin to update everything when it goes live. Brillliant!
Read all 89 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.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.