Find in Files "Keyword" and the following "#" of lines
-
I have this log folder with many files in it naming a server and it’s CPU and Memory status
I would like to find server name and copy the lines after it
like follows
mycomputername in 8/1/2018 @ 0:0:01
CPU (%) Mem ( %) Disk (GB) Drive Size Free Space Percent Free
12% 63% D: 100 51.5 52%
-
not 100% sure I understand what you want to achieve.
Am I right to assume that the find result window should display all three lines as a single match?
If so, afaik this doesn’t work - it shows only one line but if you click on that line it will
open the file with the three lines preselected.Or do you have something other in mind?
Cheers
Claudia -
To get good help, you’re probably going to have to show a bit more data. Sure, some ambitious people here could make some guesses (i.e., do a lot of mental work), but why put them thru that?
Put 4 spaces on the front of every line of data in Notepad++ before copying and pasting here, for best results. If you see a black background on your data in the preview pane as you are composing your post, you are doing it right. Such a black box would look like this:
I acutally have 4 spaces before the "I", when I was Composed Me, too, but before my "M"
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login