<?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[Regular expression captures all the data I am looking for but how can I copy that data?]]></title><description><![CDATA[<p dir="auto">I have used a regular expression that captures all the data I need but I am looking for a simple way to copy or cut just that data to be used in a compare later.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23036/regular-expression-captures-all-the-data-i-am-looking-for-but-how-can-i-copy-that-data</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 08:06:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23036.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 May 2022 14:46:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Regular expression captures all the data I am looking for but how can I copy that data? on Thu, 16 Jun 2022 18:24:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a><br />
Woot my company installed the latest version of NotePad ++ so very happy</p>
]]></description><link>https://community.notepad-plus-plus.org/post/77603</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/77603</guid><dc:creator><![CDATA[Ken Shaw]]></dc:creator><pubDate>Thu, 16 Jun 2022 18:24:33 GMT</pubDate></item><item><title><![CDATA[Reply to Regular expression captures all the data I am looking for but how can I copy that data? on Mon, 16 Dec 2024 15:55:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ken-shaw" aria-label="Profile: ken-shaw">@<bdi>ken-shaw</bdi></a> said in <a href="/post/77055">Regular expression captures all the data I am looking for but how can I copy that data?</a>:</p>
<blockquote>
<p dir="auto">Also the version I have at work is 7.8.5 so what version is that copy marked text in</p>
</blockquote>
<p dir="auto">You’re using v7.8.5?  The <strong>Copy Marked Text</strong> feature in the <strong>Mark</strong> dialog was <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Changes-v7#791" rel="nofollow ugc">added in v7.9.1</a>.  If you want this feature at work, you are going to have to ask your IT to approve a newer version of Notepad++, because v7.8.5 does <em>not</em> have the functionality you desire.</p>
<p dir="auto">I highly recommend v8.4.1 if you are upgrading, because there have been significant improvements, and v8.4.1 has been very stable.  (And since you don’t use plugins, you do not have to worry about the updated plugin interface, which is the thing holding back many users from upgrading beyond v8.2.1, while they wait for their needed plugins to be made compatible with Notepad++.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/77056</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/77056</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 16 Dec 2024 15:55:23 GMT</pubDate></item><item><title><![CDATA[Reply to Regular expression captures all the data I am looking for but how can I copy that data? on Thu, 26 May 2022 16:02:28 GMT]]></title><description><![CDATA[<p dir="auto">I can mark and copy lines without issue but what I want is the specific text/data from my regular expression:</p>
<p dir="auto">&lt;bookstore&gt;<br />
&lt;book category=“COOKING”&gt;&lt;title lang=“en”&gt;Everyday Italian&lt;/title&gt;&lt;author&gt;Giada De Laurentiis&lt;/author&gt;&lt;year&gt;2005&lt;/year&gt;&lt;price&gt;30.00&lt;/price&gt;&lt;/book&gt;<br />
&lt;book category=“CHILDREN”&gt;&lt;title lang=“en”&gt;Harry Potter&lt;/title&gt;&lt;author&gt;J K. Rowling&lt;/author&gt;&lt;year&gt;2005&lt;/year&gt;&lt;price&gt;29.99&lt;/price&gt;&lt;/book&gt;<br />
&lt;book category=“WEB”&gt;&lt;title lang=“en”&gt;Learning XML&lt;/title&gt;&lt;author&gt;Erik T. Ray&lt;/author&gt;&lt;year&gt;2003&lt;/year&gt;&lt;price&gt;39.95&lt;/price&lt;/book&gt;<br />
&lt;/bookstore&gt;</p>
<p dir="auto">I use mark with the following regular expression:<br />
&lt;author&gt;[^&lt;&gt;]+&lt;/author&gt;&lt;year&gt;[^&lt;&gt;]+&lt;/year&gt;</p>
<p dir="auto">I see that the text/data I want is highlighted so I want to only copy that highlighted data not the whole line of data.</p>
<p dir="auto">It seems like there should be a simple copy highlighted text but I don’t see it.</p>
<p dir="auto">Also the version I have at work is 7.8.5 so what version is that copy marked text in as that would be freaking awesome</p>
]]></description><link>https://community.notepad-plus-plus.org/post/77055</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/77055</guid><dc:creator><![CDATA[Ken Shaw]]></dc:creator><pubDate>Thu, 26 May 2022 16:02:28 GMT</pubDate></item><item><title><![CDATA[Reply to Regular expression captures all the data I am looking for but how can I copy that data? on Thu, 26 May 2022 15:02:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ken-shaw" aria-label="Profile: ken-shaw">@<bdi>ken-shaw</bdi></a> said in <a href="/post/77048">Regular expression captures all the data I am looking for but how can I copy that data?</a>:</p>
<blockquote>
<p dir="auto">used a regular expression that captures all the data I need but I am looking for a simple way to copy or cut just that data</p>
</blockquote>
<p dir="auto">“captures”… Hmm, I presume you mean you have used the <em>Mark</em> function (and thus it is “captured” in red background) or you have the matching lines in the <em>Search results</em> window…</p>
<p dir="auto">“cut” is not possible; you’d have to change your regular expression to be a replacement op where you replace matches with nothing.</p>
<p dir="auto">If you need “whole line” data for what you’re doing, in addition to Peter’s method you could copy the line data from the <em>Search results</em> window (if that’s where you have it).</p>
<p dir="auto">If you have text red-marked, you could press this button:</p>
<p dir="auto"><img src="/assets/uploads/files/1653577299566-59198058-0f22-46bc-aa8c-5b23875866c6-image.png" alt="59198058-0f22-46bc-aa8c-5b23875866c6-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But without more specific info about what you have/need, it is hard to give the best advice.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/77053</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/77053</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 26 May 2022 15:02:39 GMT</pubDate></item><item><title><![CDATA[Reply to Regular expression captures all the data I am looking for but how can I copy that data? on Thu, 26 May 2022 14:55:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ken-shaw" aria-label="Profile: ken-shaw">@<bdi>ken-shaw</bdi></a> ,</p>
<p dir="auto">If you use the <strong>Mark</strong> tab of the Find/Replace/…/Mark dialog, check the <strong>Bookmark Line</strong> option and do the marking (search), then it will bookmark all matched lines.  You can then use <strong>Search &gt; Bookmark &gt; Cut/Copy Bookmarked Lines</strong> to grab all those lines into the clipboard.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/77051</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/77051</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 26 May 2022 14:55:11 GMT</pubDate></item><item><title><![CDATA[Reply to Regular expression captures all the data I am looking for but how can I copy that data? on Thu, 26 May 2022 14:51:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ken-shaw" aria-label="Profile: ken-shaw">@<bdi>ken-shaw</bdi></a> my company does not let me add any plugins</p>
]]></description><link>https://community.notepad-plus-plus.org/post/77049</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/77049</guid><dc:creator><![CDATA[Ken Shaw]]></dc:creator><pubDate>Thu, 26 May 2022 14:51:25 GMT</pubDate></item></channel></rss>