Better Find and Replace

ཞིབ་བརྗོད།

This plugin automatically finds a specific word (given by you) and will replace it with your own word. The changes will automatically happen before the website renders to the browser. It doesn’t affect any other files or databases.

Easily find and replace text, HTML code, Media / Image’s URL, Footer credits or anything in the website without touching the database.

Also, It has powerful features which can be use to search and replace in Database permanently. It has an advanced feature that can be use to find and replace
any keyword on keys or values of serialized data. Also any element of the serialized data can be removed / unset by 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

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 *replament 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

གཏུབ་རེིས།

  • 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

སྒྲིག་འཇུག

  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

གདེང་འཇོག

2022 ལོའི་ཟླ 8 ཚེས 6 ཉིན།
This plugin is one I ALWAYS use when publishing websites, so I can change all URL references from development server to live. Thank you 🙂
2022 ལོའི་ཟླ 7 ཚེས 31 ཉིན།
I have been using this for mayber 18 months - a life-saver me, needing to do a complex membership system with no database expertise. And it keeps on getting even better
2022 ལོའི་ཟླ 7 ཚེས 18 ཉིན།
Instead of spending hours changing a price on my website, and then doing it again every so often - I just use this to do it in 2 minutes.
2022 ལོའི་ཟླ 6 ཚེས 23 ཉིན།
It worked very well when I changed the domain of one of my major sites. I had so many links to it, I'd never find them all just eyeballing it. This saved me a lot of time and headache.
2022 ལོའི་ཟླ 6 ཚེས 10 ཉིན།
I used this plugin once years ago - can't even recall what site that was, or what I needed it for. But I had a need today to quickly apply some changes to the front end of a site and based upon that prior experience I knew exactly what plugin to use. Thank you!
གདེང་འཇོག 73 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

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

བྱས་རྗེས་འཇོག་མཁན།

དག་བཅོས་ཉིན་ཐོ།

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 replacemnt
  • 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 Shortcode (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.