I'm not sure if its possible, but I have thousands of lines, when I search for something specific, it returns what I need but it has "Line 142193" next to it? How do I get rid of that?
ex:
Line XXXXXXX TEXTHERE
Line XXX TEXTHERE
Line XXXXXX TEXTHERE
Line XXXXX TEXTHERE
I can't go through and delete "line xxxxx" manually, that would take months. what can I do? if I cant do it with notepad++ how can I do it?!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Use a regular search replace: I have slightly modified your request to account for the exact layout of search results.
Search: ^\s*Line \d+:
Replace with: <nothing>
Set Regular expressions search mode
Replace all in current document
Should take like a few seconds if you have that many lines.
Explained: When pattern starts a line with optional whitespace, then "Line " followed by one or more digits and a colon, replace with nothing, ie delete pattern. You may want to add a \s* after the colon to remove the next sequence of spaces.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure if its possible, but I have thousands of lines, when I search for something specific, it returns what I need but it has "Line 142193" next to it? How do I get rid of that?
ex:
Line XXXXXXX TEXTHERE
Line XXX TEXTHERE
Line XXXXXX TEXTHERE
Line XXXXX TEXTHERE
I can't go through and delete "line xxxxx" manually, that would take months. what can I do? if I cant do it with notepad++ how can I do it?!
Use a regular search replace: I have slightly modified your request to account for the exact layout of search results.
Search: ^\s*Line \d+:
Replace with: <nothing>
Set Regular expressions search mode
Replace all in current document
Should take like a few seconds if you have that many lines.
Explained: When pattern starts a line with optional whitespace, then "Line " followed by one or more digits and a colon, replace with nothing, ie delete pattern. You may want to add a \s* after the colon to remove the next sequence of spaces.
CChris