Regular Expression to remove Div tags

Posted by BABA on Stack Overflow See other posts from Stack Overflow or by BABA
Published on 2010-05-13T12:03:30Z Indexed on 2010/05/13 12:54 UTC
Read the original article Hit count: 272

Filed under:
|

Hi,

I have a div tag, nested with many span and div tags inside it.

now i want a regular expression in javascript which will strip the div and the content inside it.

thanks in advance..

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about regex