<?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[How to remove text after specific characters from each line?]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">I have a list of links that I need to trim. Basically I need to remove everything starting with ?__cft</p>
<p dir="auto">I googled how to do that but it doesn’t seem to work.</p>
<p dir="auto"><img src="/assets/uploads/files/1657005231242-2022-07-05_9-57-09.jpg" alt="2022-07-05_9-57-09.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23201/how-to-remove-text-after-specific-characters-from-each-line</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 00:14:49 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23201.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Jul 2022 07:12:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to remove text after specific characters from each line? on Tue, 05 Jul 2022 07:42:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/%D0%B3%D0%B5%D0%BD%D0%BD%D0%B0%D0%B4%D0%B8%D0%B9-%D0%B3%D0%B0%D0%B9%D0%B4%D1%83%D0%BA%D0%B5%D0%B2%D0%B8%D1%87" aria-label="Profile: Геннадий-Гайдукевич">@<bdi>Геннадий-Гайдукевич</bdi></a>, @neil-shcipper and <strong>All</strong>,</p>
<p dir="auto">In the <strong>Find What:</strong> field of <strong>your</strong> picture, we see that <strong>searched</strong> string :</p>
<p dir="auto"><strong><code>?__cft-.*</code></strong></p>
<p dir="auto">So, from <strong>your</strong> shown text, I suppose that the <strong>correct</strong> regex  syntax is :</p>
<p dir="auto">SEARCH <strong><code>\?__cft__.*</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">Best Regards</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78133</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78133</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 05 Jul 2022 07:42:13 GMT</pubDate></item><item><title><![CDATA[Reply to How to remove text after specific characters from each line? on Tue, 05 Jul 2022 07:23:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D0%B3%D0%B5%D0%BD%D0%BD%D0%B0%D0%B4%D0%B8%D0%B9-%D0%B3%D0%B0%D0%B9%D0%B4%D1%83%D0%BA%D0%B5%D0%B2%D0%B8%D1%87" aria-label="Profile: Геннадий-Гайдукевич">@<bdi>Геннадий-Гайдукевич</bdi></a></p>
<p dir="auto"><code>?</code> is a special character and so needs to be “escaped” so the regex machine takes it literally (treats it as a simple character).</p>
<p dir="auto">Start your expression with <code>\?</code> instead.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78131</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78131</guid><dc:creator><![CDATA[Neil Schipper]]></dc:creator><pubDate>Tue, 05 Jul 2022 07:23:18 GMT</pubDate></item></channel></rss>