{"id":3665,"date":"2010-12-13T13:46:30","date_gmt":"2010-12-13T13:46:30","guid":{"rendered":""},"modified":"2026-04-18T22:52:36","modified_gmt":"2026-04-18T22:52:36","slug":"find-text-between-double-brackets-using-regex","status":"publish","type":"post","link":"https:\/\/hellem.org\/wblog\/?p=3665","title":{"rendered":"Find text between double brackets using regex"},"content":{"rendered":"<p>Just needed to post this one as a reminder to myself. Once in a while I need to update text between double brackets, often values of parameters like the case now<br \/>\n<code><br \/>\npassword=\"thepassword\"<br \/>\n...<br \/>\npassword=\"yetanotherpassoword\"<br \/>\n<\/code><br \/>\nHaving a lot of this makes it annoying to update it manually, but by using Notepad++ which also have a regex-search-replace option it is easy <\/p>\n<p><code>password=\".*\"<\/code><\/p>\n<p>did the trick for me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just needed to post this one as a reminder to myself. Once in a while I need to update text between double brackets, often values of parameters like the case now password=&#8221;thepassword&#8221; &#8230; password=&#8221;yetanotherpassoword&#8221; Having a lot of this makes it annoying to update it manually, but by using Notepad++ which also have a regex-search-replace [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-3665","post","type-post","status-publish","format-standard","hentry","category-work-geek"],"_links":{"self":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/3665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3665"}],"version-history":[{"count":1,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/3665\/revisions"}],"predecessor-version":[{"id":13943,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/3665\/revisions\/13943"}],"wp:attachment":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}