tags:

views:

102

answers:

3

How to remove both html tags & content,values inside the tags using regular expressions

A: 

As generic as your question is, you will probably only get generic answers:

Use an HTML DOM parser.

llamaoo7
+2  A: 

Have a look at some of these articles

But be aware, you are opening yourself for a whole world of hurt.

Parsing Html The Cthulhu Way

astander
A: 

You should use an html parser for this, e.g. htmlcleaner

tangens