Calling all nerds

Soldato
Joined
8 Oct 2008
Posts
2,688
Location
Hull, East Yorkshire
How do I delete part of a line of texts?

Example

del 2020bbh : 030-c3.c3 (1048576 bytes) - NOT FOUND (2020bb)
del 2020bbh : 030-c4.c4 (1048576 bytes) - NOT FOUND (2020bb)
del 3countb : 043-p1.p1 (1048576 bytes) - NOT FOUND

I need to delete everything on the right after the colon. I have thousands of lines of text that I need to use for a batch script, deleting them manually would take me forever.

I have a big suprise for the first person with the solution!
 
lol Derek I'll send you the file and you can do the other hundred thousand ;)

Cypto that worked beautifully! Thanks bro!

Ice cream sandwhich for you!

f3f9.png
 
For sure regex is one of the most annoying things but it's also one of the most helpful.
Haha that's not chocolate btw.
And that's not ice cream...

Yeah it felt good to see all the first half get wiped out in one smooth move!

lol here come all the other nerds with their own cool methods, you HAVE to show how much you know :p
 
Back
Top Bottom