So, I have a text file that looks like this:
0,0: (168,168,176) #A8A8B0 srgb(168,168,176)
1,0: (168,168,176) #A8A8B0 srgb(168,168,176)
2,0: (166,166,174) #A6A6AE srgb(166,166,174)
3,0: (166,166,174) #A6A6AE srgb(166,166,174)
4,0: (168,168,176) #A8A8B0 srgb(168,168,176)
5,0: (168,168,176) #A8A8B0 srgb(168,168,176)
6,0: (168,168,176) #A8A8B0 srgb(168,168,176)
7,0: (168,168,176) #A8A8B0 srgb(168,168,176)
8,0: (168,168,176) #A8A8B0 srgb(168,168,176)
I want to remove everything from each line EXCEPT the # and the 6 characters that follow
*CONDITION:
I don't want to use Sed, grep or any other linux tools.
(I don't hate them, I just simply would love to get this done with DOS only.)
Any help is appreaciated
---------- Post updated 06-21-14 at 12:27 PM ---------- Previous update was 06-20-14 at 04:53 PM ----------
EDIT:
This thread can be closed
findstr # out.txt >> res.txt
does the trick