[Tutor] how to remove html ags

anil maran anilmrn at yahoo.com
Sat Aug 12 11:14:31 CEST 2006

<p><div class="quote">Human nature is not a machin...

for example in the above stirng 

i want to remove <p>
and <div class="quote">

i tried

str = str.replace('(.*)','')

it doesnt work

Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060812/3f253d02/attachment.html 

More information about the Tutor mailing list