remove special tag with content
Moderator: General Moderators
-
playwright
- Forum Newbie
- Posts: 20
- Joined: Wed Jun 02, 2010 6:11 pm
remove special tag with content
I want to remove a div tag with all its content..so far i' m able to remove tags that don't contain any other tags inside..e.g <b>bla bla bla </b>..However the div tag i want to remove is like <div class="" style=""><tag>bla bla...<other tag/>....</tag></div>..any ideas??
- phdatabase
- Forum Commoner
- Posts: 83
- Joined: Fri May 28, 2010 10:02 am
- Location: Fort Myers, FL
Re: remove special tag with content
OK. So what's the problem? what code are you using to try this?
Re: remove special tag with content
Would strip_tags work?
- phdatabase
- Forum Commoner
- Posts: 83
- Joined: Fri May 28, 2010 10:02 am
- Location: Fort Myers, FL
Re: remove special tag with content
It would depend on what he's trying to do... which is why I asked to have the code posted.