<?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 find posts in my HUGE Master file..]]></title><description><![CDATA[<p dir="auto">…I scraped for only my posts from the past 4 years.  I ended up with a file that has about 600 pages.  Notepad++ is awesome with opening the file easily, couple of seconds.  I can search for words, or my Username on the forum to weed out any “quotes” or from others.</p>
<p dir="auto">What I need to do, to trim things down, is find just posts with my username on them.  I don’t know how to set it up to find whole posts though.  Not sure Notepad ++ can actually do this, and couldn’t find documentation.</p>
<p dir="auto">Any help would be appreciated, and I will need the Community for more things I’m sure I might need to ask help for, so I am glad you have a forum:)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27657/how-to-find-posts-in-my-huge-master-file..</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 20:59:52 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27657.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Sep 2026 18:49:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to find posts in my HUGE Master file.. on Mon, 14 Sep 2026 19:59:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/allinmyhead" aria-label="Profile: Allinmyhead">@<bdi>Allinmyhead</bdi></a> ,</p>
<p dir="auto">Notepad++ has no notion of “post”.  It just sees a big blob of text, and tries to apply the search string you give it.  If you search for just your username, that’s the only piece that will match.  If you use a more complicated <a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">regular expression (“regex”)</a>, you can define a fancy search that will match more.</p>
<p dir="auto">If you gave more details about what a “post” is formatted in text, we could help you come up with the right regex.  For example, if the post is <code>username: blah blah blah [newline][newline]</code>, then something like <code>^username: .*?\R\R</code> would find everything from <code>username:</code> to the two newlines in a row.</p>
<p dir="auto">But Notepad++ is not just going to “hide” everything else, and allow you to look at just that.  As you do each <strong>Find Next</strong>, it will just highlight the entire match.  It might be possible, if you gave us examples of what this file would look like, to be able to strip out “posts” that <em>aren’t</em> yours, instead.  (Similar to the above, but matching anything <em>but</em> your username at the start of the post).  But until you give us example data that matches your formatting, and show which posts you’d like to keep and which to delete, there is no way we could randomly come up with the right regex to help you.</p>
<p dir="auto">Click the <code>&lt;/&gt;</code> button in your reply.  Put some data in the code-box that creates.  Make sure the data matches your actual data, and is formatted exactly the same.  Indicate which “posts” you’d like to keep vs delete.  Make sure you give us a description of how you, as a human, would recognize where one post starts and ends.</p>
<hr />
<p dir="auto"><em>Update</em>: it might actually be easier to use the <strong>Mark</strong> dialog to mark all the username posts, rather than the find/replace to delete the non-username posts.  That would allow “copy marked lines”, and then the username-only ones could be pasted in a new file, rather than deleting the non-username posts from the original.  But it depends on the shape of the data, and whether you’d prefer to just delete from your old file or create a new one…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106309</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106309</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 14 Sep 2026 19:59:48 GMT</pubDate></item></channel></rss>