have you had a look at BeautifulSoup?
http://www.crummy.com/software/BeautifulSoup/
i haven't used it but i have seen it mentioned on the list for parsing html.
On 8/12/06, anil maran <[EMAIL PROTECTED]> wrote:
<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
thanks
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
--
Daniel McQuay
[EMAIL PROTECTED]
boxster.homelinux.org
prowiseguys.com
H: 814.825.0847
M: 814-341-6233
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor