Reg Expression - Get position of >

M_H heyer.mario at googlemail.com
Tue Nov 25 17:36:16 CET 2008


Hey,

I need the position of the last char >

Let's say I have a string
mystr =  <mimetype="text/html"><content><![CDATA[

I need the posistion of the "> (second sign) - so I can cut away the
first part.

The problem is that it can be like "> but also like " > or "     >

But it is def the quotes and the closing brakets.

How do I get the position of the >  ????

Hope you can help,
Bacco





More information about the Python-list mailing list