zimmer9
asked on
How to fine tune a DOS command to strip out the rows that represent line numbers within a file?
How would you modify the following DOS Command which so far strips out the rows with semi colons, to convert the following file's contents into plain text stripping out the rows with line number using DOS?
findstr /v /r "^$ --> ^[0-9]*$" TEST.txt > TEST_stripped.txt
I have attached a .SRT file with the following contents:
I was hoping to convert the following .SRT file's contents from
6
00:00:27,000 --> 00:00:30,000
and build some simple webpages.
7
00:00:30,000 --> 00:00:33,000
Part of what makes web design and web development so fun
8
00:00:33,000 --> 00:00:37,000
when compared to other forms of software development, is that you can
to revised values as follows:
and build some simple webpages.
Part of what makes web design and web development so fun
when compared to other forms of software development, is that you can
TEST.txt
findstr /v /r "^$ --> ^[0-9]*$" TEST.txt > TEST_stripped.txt
I have attached a .SRT file with the following contents:
I was hoping to convert the following .SRT file's contents from
6
00:00:27,000 --> 00:00:30,000
and build some simple webpages.
7
00:00:30,000 --> 00:00:33,000
Part of what makes web design and web development so fun
8
00:00:33,000 --> 00:00:37,000
when compared to other forms of software development, is that you can
to revised values as follows:
and build some simple webpages.
Part of what makes web design and web development so fun
when compared to other forms of software development, is that you can
TEST.txt
Look at my answer in your previous question, I suspect you did not copy/paste the findstr pattern correctly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
~bp