I have the following html content:
<p>My name is <a href="way2project">way2project</a></p>
Now I want this text as <p>My name is way2project</p>
Is there any way to do this? Please help me thanks
I used preg_replace but in vain.
Thanks again
I have the following html content:
<p>My name is <a href="way2project">way2project</a></p>
Now I want this text as <p>My name is way2project</p>
Is there any way to do this? Please help me thanks
I used preg_replace but in vain.
Thanks again
strip_tags you can use this, to remove html tags.