RE Help

David wizzardx at gmail.com
Fri Sep 21 20:44:49 CEST 2007


> data = "asdfasgSTARTpruyerfghdfjENDhfawrgbqfgsfgsdfg"
> x = re.compile('START.END', re.DOTALL)

This should work:

x = re.compile('START(.*)END', re.DOTALL)



More information about the Python-list mailing list