<?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[I need help to remove a string]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">I have a file containing expressions like:</p>
<p dir="auto">(tstamp 0079956c-31f8-44a4-92be-90a7cd4470f3)</p>
<p dir="auto">That I need to delete from ( to ).</p>
<p dir="auto">Say, I want to replace:<br />
<strong>(tstamp</strong><br />
until<br />
<strong>)</strong><br />
by<br />
<strong>“”</strong> (nothing)</p>
<p dir="auto"><strong>(tstamp</strong> is, of course the ‘thing’ to look after.</p>
<p dir="auto">Could I have some help, please?</p>
<p dir="auto">Thanks<br />
SC</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19477/i-need-help-to-remove-a-string</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 14:30:48 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19477.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 May 2020 22:50:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I need help to remove a string on Fri, 29 May 2020 23:12:31 GMT]]></title><description><![CDATA[<p dir="auto">On re-reading, I saw a fine point I may have missed: if you only want to delete parenthesized items when it starts with <code>(tstamp</code>, then slight change:</p>
<ul>
<li>FIND = <code>\(tstamp.*?\)</code></li>
</ul>
<p dir="auto">The rest remains the same.</p>
<p dir="auto">With this,</p>
<pre><code>(blah keep this) (tstamp blah blah) (blah keep this)
</code></pre>
<p dir="auto">will become</p>
<pre><code>(blah keep this)  (blah keep this)
</code></pre>
<p dir="auto">If you have more requirements (the paren must start at the beginning of the line and/or end at the end of the line, or other such modifications), those refined requirements can be met.  However, you will need to be more explicit.</p>
<p dir="auto">-—</p>
<p dir="auto"><em>Do you want regex search/replace help?  Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you.  All example text should be marked as plain text using the <code>&lt;/&gt;</code> toolbar button or manual <a href="https://community.notepad-plus-plus.org/topic/14262/how-to-markdown-code-on-this-forum/4">Markdown syntax</a>. Screenshots can be pasted from the clipbpard to your post using <code>Ctrl+V</code> to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have <strong>and</strong> the text you want to get from that data; include examples of things that <strong>should match</strong> and be transformed, <strong>and</strong> things that <strong>don’t match</strong> and should be left alone; show <strong>edge cases</strong> and make sure you examples are as <strong>varied</strong> as your real data.  Show the regex you already tried, <strong>and why</strong> you thought it should work; tell us what’s wrong with what you <strong>do</strong> get… Read the official <a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">NPP Searching / Regex docs</a> and the forum’s <a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regex-documentation">Regular Expression FAQ</a>. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/54447</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54447</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 29 May 2020 23:12:31 GMT</pubDate></item><item><title><![CDATA[Reply to I need help to remove a string on Fri, 29 May 2020 23:09:13 GMT]]></title><description><![CDATA[<p dir="auto">FIND = <code>\(.*?\)</code><br />
REPLACE = empty (nothing)<br />
SEARCH MODE = regular expression</p>
]]></description><link>https://community.notepad-plus-plus.org/post/54446</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/54446</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 29 May 2020 23:09:13 GMT</pubDate></item></channel></rss>