Selvam, 30.12.2010 08:30:
I have some HTML string which I would like to feed to BeautifulSoup.
But, One malformed attribute breaks BeautifulSoup.
My String
Didn't try with BS (and you forgot to say what "breaks" means exactly in
your case), but it parses in a somewhat reasonable way w
Hi all,
I have some HTML string which I would like to feed to BeautifulSoup.
But, One malformed attribute breaks BeautifulSoup.
My String
I would like it to replace all the occurances of that attribute with an
empty string.
I am unable to figure out the exact regex, which can do this job.