Dec-05-2018, 03:17 AM
There are various files of transcriptions and they have timestamps in them. They look like this ..
and we need them to look like this ..
Is it simply a matter of a search and replace ? Like search for either numeric or a colon, and replace with a null ? Wanted to use python to parse through a number of files; there are about 20 of these .txt files and some are 130K. So doing it manually is out of the question.
Possibly search for a space and numeric to indicate the start of where it needs replacing, and more often than not we have .
to become .
so there is usually that preceeding space to be replaced with null also.
Quote:So from 12:23 that very moment you actually 12:25 actually continued the form of a choice, 12:28 that you kept going to the point of 12:30 no return, where you actually became who 12:33 you are now. 12:35 So you actually took part in 12:38 who you are now.
and we need them to look like this ..
Quote:So from that very moment you actually actually continued the form of a choice, that you kept going to the point of no return, where you actually became who you are now. So you actually took part in who you are now.
Is it simply a matter of a search and replace ? Like search for either numeric or a colon, and replace with a null ? Wanted to use python to parse through a number of files; there are about 20 of these .txt files and some are 130K. So doing it manually is out of the question.
Possibly search for a space and numeric to indicate the start of where it needs replacing, and more often than not we have .
Quote:access 11:30 that?
to become .
Quote:access that?
so there is usually that preceeding space to be replaced with null also.