Reg Expression - Get position of >

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


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,

More information about the Python-list mailing list