How to Re this string!

Sunit Joshi sjoshi at ingr.com
Tue Aug 13 04:02:34 CEST 2002


Hello
I have string like(apce at end)
20 1 18 40 'p14h105' 'MCHE Drains and Vents' 'p14h105.dgn'
'g:\pdstest\models\piping\' 'sunitw2k'   0 0

for which I'm trying to write an re exp. The intgers are separated by
a space and the strings enclosed in "'". I need to write out the final
string delimited by a ";"

Could someone please help mw with an Re.exp for this.

thanks
Sunit



More information about the Python-list mailing list