Parsing a text file for information

Colin Meeks colin at meeks.ca
Sat May 18 20:52:06 EDT 2002


I have a text file that is several magabytes in size and would like to
strip it of certain information. The information I want is always
preceeded by
    GETTEXT=
and is in itself 18 characters long.  Is there a regular expression I
could use to simplify the task.

Thanks in advance

Colin


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.362 / Virus Database: 199 - Release Date: 07/05/2002





More information about the Python-list mailing list