Regular expression help

Daniel Klein danielk at aracnet.com
Thu May 3 09:03:15 EDT 2001


Help! I've _never_ done a regular expression and I've got an emergency
situation where I need to find all occurrences of

string1 + '(' + string2 + '<' + string3 + '>)'

and there could be spaces betwixt any of the components.

For example,

abc123(def456<ghi789>)
or
X   (   Y   <  Z   >   )

Any immediate help appreciated. In the mean time, I'm going to try to work it
out for meself.

Thanks,
Daniel Klein



More information about the Python-list mailing list