regular expression to extract text

Batista, Facundo FBatista at uniFON.com.ar
Thu Nov 20 10:33:25 EST 2003


Mark Light wrote:

#- Hi I have a file read in as a string that looks like below. 
#- What I want to
#- do is pull out the bits of information to eventually put in 
#- an html table.
#- FOr the 1st example the 3 bits are:
#- 1.QEXZUO
#- 2. C26 H31 N1 O3
#- 3. 6.164   15.892   22.551    90.00    90.00    90.00
#- 
#- ANy ideas of the best way to do this - I was trying regular 
#- expressions but
#- not getting very far.

What is the exact result you're trying to reach for that example?

.	Facundo





More information about the Python-list mailing list