{"id":200815,"date":"2024-08-19T10:30:00","date_gmt":"2024-08-19T10:30:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/search-and-replace-for-block-editor\/"},"modified":"2026-03-23T07:07:35","modified_gmt":"2026-03-23T07:07:35","slug":"search-replace-for-block-editor","status":"publish","type":"plugin","link":"https:\/\/so.wordpress.org\/plugins\/search-replace-for-block-editor\/","author":22050467,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.10.0","stable_tag":"1.10.0","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Search and Replace for Block Editor","header_author":"badasswp","header_description":"Search and Replace text within the Block Editor.","assets_banners_color":"000000","last_updated":"2026-03-23 07:07:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/badasswp\/search-and-replace","header_author_uri":"https:\/\/github.com\/badasswp","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":15530,"num_ratings":3,"support_threads":2,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"badasswp","date":"2024-10-03 00:22:54"},"1.0.1":{"tag":"1.0.1","author":"badasswp","date":"2024-10-03 00:22:54"},"1.0.2":{"tag":"1.0.2","author":"badasswp","date":"2024-10-03 00:22:54"},"1.0.3":{"tag":"1.0.3","author":"badasswp","date":"2024-10-03 00:22:54"},"1.0.4":{"tag":"1.0.4","author":"badasswp","date":"2024-08-19 10:29:49"},"1.1.0":{"tag":"1.1.0","author":"badasswp","date":"2024-10-03 00:22:54"},"1.1.1":{"tag":"1.1.1","author":"badasswp","date":"2024-10-06 11:47:05"},"1.10.0":{"tag":"1.10.0","author":"badasswp","date":"2026-03-23 07:07:35"},"1.2.0":{"tag":"1.2.0","author":"badasswp","date":"2024-11-16 06:34:24"},"1.2.1":{"tag":"1.2.1","author":"badasswp","date":"2024-11-29 11:27:32"},"1.2.2":{"tag":"1.2.2","author":"badasswp","date":"2024-12-02 18:26:02"},"1.2.3":{"tag":"1.2.3","author":"badasswp","date":"2025-01-21 19:37:04"},"1.3.0":{"tag":"1.3.0","author":"badasswp","date":"2025-02-22 21:34:16"},"1.4.0":{"tag":"1.4.0","author":"badasswp","date":"2025-03-05 14:42:04"},"1.5.0":{"tag":"1.5.0","author":"badasswp","date":"2025-04-26 14:46:13"},"1.6.0":{"tag":"1.6.0","author":"badasswp","date":"2025-06-09 22:59:38"},"1.7.0":{"tag":"1.7.0","author":"badasswp","date":"2025-10-27 16:53:01"},"1.8.0":{"tag":"1.8.0","author":"badasswp","date":"2025-12-12 09:05:29"},"1.9.0":{"tag":"1.9.0","author":"badasswp","date":"2026-03-23 07:07:35"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3163515,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3163515,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3161794,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3161794,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.10.0","1.2.0","1.2.1","1.2.2","1.2.3","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","1.8.0","1.9.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3161794,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3488621,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3488621,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3251176,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3488621,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3488621,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Search &amp; Replace for Block Editor icon - Locate the top left of the Block Editor.","2":"Search &amp; Replace for Block Editor modal - Search and Replace text in the Block Editor.","3":"Match Case in Search &amp; Replace - Now you can match the case of the text and Search and Replace.","4":"Search &amp; Replace icon in Toolbar - For a faster workflow you can use the toolbar icon in the Toolbar.","5":"Search &amp; Replace Toolbar icon in action - Make changes a lot quicker and get more done in less time.","6":"Plugin Options page - Configure default settings for Search and Replace."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,1332,7854,944,749],"plugin_category":[],"plugin_contributors":[256712,228863,207891,238640],"plugin_business_model":[],"class_list":["post-200815","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-editor","plugin_tags-replace","plugin_tags-search","plugin_tags-text","plugin_contributors-activist507","plugin_contributors-badasswp","plugin_contributors-jargovi","plugin_contributors-rajanand346","plugin_committers-badasswp"],"banners":{"banner":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/banner-772x250.png?rev=3161794","banner_2x":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/banner-1544x500.png?rev=3161794","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/icon-128x128.png?rev=3163515","icon_2x":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/icon-256x256.png?rev=3163515","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/screenshot-1.png?rev=3161794","caption":"Search &amp; Replace for Block Editor icon - Locate the top left of the Block Editor."},{"src":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/screenshot-2.png?rev=3488621","caption":"Search &amp; Replace for Block Editor modal - Search and Replace text in the Block Editor."},{"src":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/screenshot-3.png?rev=3488621","caption":"Match Case in Search &amp; Replace - Now you can match the case of the text and Search and Replace."},{"src":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/screenshot-4.png?rev=3251176","caption":"Search &amp; Replace icon in Toolbar - For a faster workflow you can use the toolbar icon in the Toolbar."},{"src":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/screenshot-5.png?rev=3488621","caption":"Search &amp; Replace Toolbar icon in action - Make changes a lot quicker and get more done in less time."},{"src":"https:\/\/ps.w.org\/search-replace-for-block-editor\/assets\/screenshot-6.png?rev=3488621","caption":"Plugin Options page - Configure default settings for Search and Replace."}],"raw_content":"<!--section=description-->\n<p>This plugin brings the familiar Search and Replace functionality that PC users have grown accustomed to in <strong>Microsoft Word<\/strong> and <strong>Google Docs<\/strong> to the Block Editor.<\/p>\n\n<p>Now you can easily search and replace text right in the Block Editor. Its easy and does exactly what it says. You can also match the text case using the 'Match Case | Expression' toggle.<\/p>\n\n<h4>\u2714\ufe0f Features<\/h4>\n\n<p>Our plugin comes with everything you need to find and replace text quicker and more efficiently.<\/p>\n\n<p>\u2714\ufe0f <strong>Search &amp; Replace<\/strong> text, typos, keywords faster.\n\u2714\ufe0f <strong>Shortcut Keys<\/strong> - CMD + SHIFT + F.\n\u2714\ufe0f <strong>Match Case<\/strong> Sensitivity.\n\u2714\ufe0f <strong>Custom Hooks<\/strong> to help you customize plugin behaviour.\n\u2714\ufe0f Available in <strong>mutiple langauges<\/strong> such as Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish &amp; French languages.\n\u2714\ufe0f <strong>Backward compatible<\/strong>, works with most WP versions.<\/p>\n\n<h4>\u2728 Getting Started<\/h4>\n\n<p>Create a new Post or open an existing Post. Locate the 'Search and Replace' icon at the <strong>top left<\/strong> corner of the Block Editor and click on it. Proceed to type in the text you wish to replace and click on 'Replace'.<\/p>\n\n<p>You can get a taste of how this works, by using the <a href=\"https:\/\/tastewp.com\/create\/NMS\/8.0\/6.7.0\/search-replace-for-block-editor\/twentytwentythree?ni=true&amp;origin=wp\">demo<\/a> link.<\/p>\n\n<h4>\u26a1 Shortcut Keys &amp; Text Selection<\/h4>\n\n<p>To quickly access the Search and Replace modal, press <strong>CTRL + SHIFT + F<\/strong>. This will fire up the dialog box where you can quickly change things.<\/p>\n\n<p>You can also <strong>select text<\/strong> on your Block Editor and <strong>use the Shortcut<\/strong>. This will grab the text you have selected and fire up your dialog box with the text already typed into it. This makes working with the Search and Replace tool faster.<\/p>\n\n<h4>\ud83d\udd0c\ud83c\udfa8 Plug and Play or Customize<\/h4>\n\n<p>The Search &amp; Replace for Block Editor plugin is built to work right out of the box. Simply install, activate and start using.<\/p>\n\n<p>Want to add your personal touch? All of our documentation can be found <a href=\"https:\/\/github.com\/badasswp\/search-replace-for-block-editor\">here<\/a>. You can override the plugin's behaviour with custom logic of your own using <a href=\"https:\/\/github.com\/badasswp\/search-replace-for-block-editor?tab=readme-ov-file#hooks\">hooks<\/a>.<\/p>\n\n<h3>Contribute<\/h3>\n\n<p>If you'd like to contribute to the development of this plugin, you can find it on <a href=\"https:\/\/github.com\/badasswp\/search-replace-for-block-editor\">GitHub<\/a>.<\/p>\n\n<p>To build, clone repo and run <code>npm install &amp;&amp; npm run build<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to 'Plugins &gt; Add New' on your WordPress admin dashboard.<\/li>\n<li>Search for 'Search and Replace for Block Editor' plugin from the official WordPress plugin repository.<\/li>\n<li>Click 'Install Now' and then 'Activate'.<\/li>\n<li>Create a new Post or Open an existing Post.<\/li>\n<li>You should now see the 'Search and Replace' icon at the top left.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.10.0<\/h4>\n\n<ul>\n<li>Feat: Added translation languages for <code>Japanese<\/code>,<code>Indonesian<\/code>, <code>Turkish<\/code>, <code>Polish<\/code>, <code>Dutch<\/code>, <code>Brazil<\/code> and <code>Portuguese<\/code>.<\/li>\n<li>Feat: Add toggle for Regex expression matching.<\/li>\n<li>Feat: Add Plugin options page.<\/li>\n<li>Feat: Add Shortcut command (CMD + F).<\/li>\n<li>Feat: Add custom hooks: <code>afterSearchReplace<\/code>, <code>excludedPostTypes<\/code>, <code>regexPattern<\/code>.<\/li>\n<li>Fix: Make default search literal &amp; regex opt-in.<\/li>\n<li>Refactor: Use <code>replaceInput<\/code> in place of repeated instances of <code>text<\/code>.<\/li>\n<li>Test: Add e2e tests for plugin codebase.<\/li>\n<li>Tested up to WP 6.9.<\/li>\n<\/ul>\n\n<h4>1.9.0<\/h4>\n\n<ul>\n<li>Feat: Use Composer setup for plugin.<\/li>\n<li>Tested up to WP 6.9.<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Feat: Add Search &amp; Replace feature for table head, foot &amp; caption.<\/li>\n<li>Fix: Reset <code>Replace<\/code> input field.<\/li>\n<li>Tested up to WP 6.8.<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Fix: Issue with rich content replacement (HTML bearing string).<\/li>\n<li>Feat: On Modal open, show items found for Highlighted text.<\/li>\n<li>Fix: Console warnings &amp; errors.<\/li>\n<li>Tested up to WP 6.8.<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Feat: Add search and replace functionality for <strong>Table Block<\/strong>.<\/li>\n<li>Feat: Add new custom hook <code>search-replace-for-block-editor.handleAttributeReplacement<\/code>.<\/li>\n<li>Docs: Update README docs.<\/li>\n<li>Tested up to WP 6.8.<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Fix: Missing icon due to recent WP 6.8 upgrade.<\/li>\n<li>Feat: Add local WP dev env.<\/li>\n<li>Chore: Update Plugin contributors list.<\/li>\n<li>Update README docs.<\/li>\n<li>Tested up to WP 6.7.2.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Feat: Add search icon to Toolbar.<\/li>\n<li>Feat: Add new custom hook <code>search-replace-for-block-editor.replaceBlockAttribute<\/code>.<\/li>\n<li>Chore: Enforce WP linting across plugin.<\/li>\n<li>Test: Improve unit tests cases.<\/li>\n<li>Refactor: Search &amp; Replace core logic to use <code>replaceBlockAttribute<\/code> hook.<\/li>\n<li>Tested up to WP 6.7.2.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Feat: Add Search count feature.<\/li>\n<li>Tested up to WP 6.7.2.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Fix: Crashing Gutenberg Block Editor on Toggle Block Inserter.<\/li>\n<li>Tested up to WP 6.7.2.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fix style issues for WP 6.6.2.<\/li>\n<li>Fix timeout issues causing Icon not to load.<\/li>\n<li>Fix backward compatibility issues due to WP upgrade.<\/li>\n<li>Apply coding standards.<\/li>\n<li>Update README notes.<\/li>\n<li>Tested up to WP 6.7.1.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fix in modal selection issue.<\/li>\n<li>Fix missing tooltip component.<\/li>\n<li>Fix block editor selection issue due to iframe.<\/li>\n<li>Update README notes.<\/li>\n<li>Tested up to WP 6.7.1.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Fix WP upgrade 6.7 issues.<\/li>\n<li>Add text selection shortcut functionality.<\/li>\n<li>Update README notes.<\/li>\n<li>Tested up to WP 6.7.0.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Update README notes.<\/li>\n<li>Update asset icons &amp; screenshots.<\/li>\n<li>Tested up to WP 6.6.2.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Feat: Case Sensitive toggle.<\/li>\n<li>Update asset images and screenshots.<\/li>\n<li>Fix Bugs and Linting issues.<\/li>\n<li>Update README.txt file.<\/li>\n<li>Update Translation files.<\/li>\n<li>Tested up to WP 6.6.2.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Update README.txt file.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Implement Build Workflow<\/li>\n<li>Replace <code>mt_rand<\/code> with <code>string<\/code> for asset enqueuing.<\/li>\n<li>Fix Bugs and Linting issues.<\/li>\n<li>Tested up to WP 6.6.1.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix styling issues observed on search icon.<\/li>\n<li>Implement case sensitivity feature for search and replace.<\/li>\n<li>Add custom hook -\u00a0<code>search-replace-for-block-editor.caseSensitive<\/code>.<\/li>\n<li>Load assets via plugin directory URL.<\/li>\n<li>Address bugs and linting issues.<\/li>\n<li>Tested up to WP 6.6.1.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Handle edge cases with quote, pullquote &amp; details block.<\/li>\n<li>Add custom hook - <code>search-replace-for-block-editor.keyboardShortcut<\/code>.<\/li>\n<li>Fix Bugs &amp; linting issues.<\/li>\n<li>Updated Unit Tests &amp; README notes.<\/li>\n<li>Tested up to WP 6.6.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Ability to Search &amp; Replace text within the Block Editor.<\/li>\n<li>Custom Hooks - <code>search-replace-for-block-editor.allowedBlocks<\/code>.<\/li>\n<li>Provided support for Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish &amp; French languages.<\/li>\n<li>Unit Tests coverage.<\/li>\n<li>Tested up to WP 6.5.5.<\/li>\n<\/ul>","raw_excerpt":"Search and Replace text within the WordPress Block Editor just like Microsoft Word or Google Docs. It&#039;s super fast, easy &amp; just works!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/200815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=200815"}],"author":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/badasswp"}],"wp:attachment":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=200815"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=200815"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=200815"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=200815"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=200815"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=200815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}