Replace and inserting strings within .txt files with the use of regex

Steven D'Aprano steve at
Sun Aug 8 10:09:35 CEST 2010

On Sat, 07 Aug 2010 17:20:24 -0700, Νίκος wrote:

> I don't know how to handle such a big data replacing problem and cannot
> play with fire because those 500 pages are my cleints pages and data of
> those filesjust cannot be messes up.

Take a backup copy of the files, and only edit the copies. Don't replace 
the originals until you know they're correct.


More information about the Python-list mailing list