Exmaples of re module

air at apex.net air at apex.net
Fri Jun 4 03:00:10 CEST 1999


I am looking for some examples of the re module, mainly I need to be able to do what I used to do with awk, grab part of a file from Point a to point b, in awk you could do it like this
/--Begin--/,/--End--/!d
or something similar to this, any help would be appreciated.

Thanks, Todd





More information about the Python-list mailing list