<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[a string to search containing “the new line&quot;]]></title><description><![CDATA[<p dir="auto">Hello everyone.<br />
I have to insert in the “editor.replace” command a string to search containing “the new line”. How can I do without being mistaken? Thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19051/a-string-to-search-containing-the-new-line</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 00:50:16 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19051.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Mar 2020 03:12:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to a string to search containing “the new line&quot; on Mon, 16 Mar 2020 11:46:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tuan-zuli" aria-label="Profile: Tuan-Zuli">@<bdi>Tuan-Zuli</bdi></a></p>
<p dir="auto">It appears you are talking about using the Pythonscript plugin?</p>
<p dir="auto">Maybe you want something like this? (Hard to say definitively without further detail being provided):</p>
<p dir="auto"><code>editor.replace('aaa\r\nbbb', 'AAA\r\nBBB')</code></p>
<p dir="auto">Of course the use of <code>\r\n</code> is for Windows files only.  If your files are Linux you want to drop the <code>\r</code> and use only <code>\n</code>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51412</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51412</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 16 Mar 2020 11:46:38 GMT</pubDate></item></channel></rss>