{"id":22086,"date":"2019-02-12T16:26:20","date_gmt":"2019-02-12T15:26:20","guid":{"rendered":"https:\/\/jurnsearch.wordpress.com\/?p=22086"},"modified":"2019-02-12T16:26:20","modified_gmt":"2019-02-12T15:26:20","slug":"multi-line-search-and-replace-in-notepad","status":"publish","type":"post","link":"https:\/\/jurn.link\/jurnsearch\/index.php\/2019\/02\/12\/multi-line-search-and-replace-in-notepad\/","title":{"rendered":"Multi-line search and replace in Notepad++"},"content":{"rendered":"<p>One of the slight drawbacks to the popular Notepad++ freeware is its lack of a multi-line search-and-replace which is friendly to non-programmer users. This can be corrected with a simple free plugin.<\/p>\n<p>1. Download <a href=\"https:\/\/github.com\/phdesign\/NppToolBucket\/downloads\">ToolBucket<\/a>, extract its .DLL file and place this in your Notepad++ plugins folder\/directory.<\/p>\n<p>2. In Notepad++ go to the top menu bar.  Plugins | Plugins Admin | scroll down and select ToolBucket | Install | OK.<\/p>\n<p>3. On restarting Notepad++ you will now have multi-line search-replace, albiet under Plugins rather than under the native Replace menu item.<\/p>\n<p><a href=\"https:\/\/jurn.link\/jurnsearch\/2019\/02\/multiline.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jurn.link\/jurnsearch\/2019\/02\/multiline.jpg\" alt=\"\" width=\"529\" height=\"328\" class=\"alignnone size-large wp-image-22088\" \/><\/a><\/p>\n<p><a href=\"https:\/\/jurn.link\/jurnsearch\/2019\/02\/multiline-ui.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jurn.link\/jurnsearch\/2019\/02\/multiline-ui.jpg\" alt=\"\" width=\"505\" height=\"242\" class=\"alignnone size-full wp-image-22087\" \/><\/a><\/p>\n<p>Note that for macros, multiline search-replace needs to be done as the more tricky: <strong>\\n<\/strong> command with &#8216;Extended&#8217; checked.  I had no success getting a macro to record the above plugin. <\/p>\n<hr>\n<p>(There have recently been annoying changes to the plugin folder structure in Notepad++, which have broken many older plugins &mdash; if you install to Program Files and this plugin doesn&#8217;t work, try installing it in its own folder under Plugins. If that doesn&#8217;t work then try installing it down in User \/ Appdata, again with \/ without its own folder).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the slight drawbacks to the popular Notepad++ freeware is its lack of a multi-line search-and-replace which is friendly &hellip;<\/p>\n<p><a href=\"https:\/\/jurn.link\/jurnsearch\/index.php\/2019\/02\/12\/multi-line-search-and-replace-in-notepad\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-22086","post","type-post","status-publish","format-standard","hentry","category-jurn-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts\/22086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/comments?post=22086"}],"version-history":[{"count":0,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts\/22086\/revisions"}],"wp:attachment":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/media?parent=22086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/categories?post=22086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/tags?post=22086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}