(Dec-05-2018, 03:17 AM)jehoshua Wrote: 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.You could do it with regex and then just replace all double spaces with a single space. OR you can make a function to find all colons, and then remove 3 characters before, and 2 characters afterwords.
Possibly search for a space and numeric to indicate the start of where it needs replacing, and more often than not we have .
Recommended Tutorials: