I am trying to strip out unwanted text in a .txt file and its not the entire line. Here is an example of text:
C:\Users\cph\AppData\Local\Temp\results_2017-01202016.txt: Geekbench Score 3646 7510
C:\Users\cph\AppData\Local\Temp\results_2017-01202016.txt:Rendering (Multiple CPU) : 342.39 pts
C:\Users\cph\AppData\Local\Temp\results_2017-01202016.txt:Shading (OpenGL) : 58.11 fps
C:\Users\cph\AppData\Local\Temp\results_2035-01202016.txt: Geekbench Score 3654 7511
C:\Users\cph\AppData\Local\Temp\results_2035-01202016.txt:Rendering (Multiple CPU) : 340.95 pts
C:\Users\cph\AppData\Local\Temp\results_2035-01202016.txt:Shading (OpenGL) : 57.47 fps
C:\Users\cph\AppData\Local\Temp\results_2052-01202016.txt: Geekbench Score 3657 7524
C:\Users\cph\AppData\Local\Temp\results_2052-01202016.txt:Rendering (Multiple CPU) : 341.38 pts
C:\Users\cph\AppData\Local\Temp\results_2052-01202016.txt:Shading (OpenGL) : 57.79 fps
I need to only keep the FPS, pts, and Score sections (The numbers) but this is what is inside the text file. If I have to split it using findstr then stripping stuff that's fine with me.
Please let me know if you can think of anything. I know how to do it in Python but we are not allowed to install any extra tools for this.
It needs to be something like this for the output.
Geekbench 3646 7510
Geekbench 3654 7511
Geekbench 3657 7524
Cinebench CPU 342.39
Cinebench CPU 340.95
Cinebench CPU 341.38
Cinebench GPU 58.11
Cinebench GPU 57.47
Cinebench GPU 57.79
The text before the numbers don't need to say those exact things but something like that.