strip only html anchor tags.

Posted by user283405 on Stack Overflow See other posts from Stack Overflow or by user283405
Published on 2010-04-07T10:03:33Z Indexed on 2010/04/07 11:13 UTC
Read the original article Hit count: 348

Filed under:
|
|

i have following code that strip all tags. now i want to strip only anchor tags.

x = re.compile(r'<[^<]*?/?>')

how to modify so that only anchor tags stripped.

© Stack Overflow or respective owner

Related posts about python

Related posts about regex