Register Advertise with usHelp Desk Today's Posts Search

Thread Tools Search this Thread
Unread 5th Dec 2017, 04:03 AM   #1
Warrior Member
 
hariprasad p's Avatar
 
Join Date: 2017
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
How to parsing some html tags content and separate them by some sepecial chars like “|”?
Share on: 
fb share twitter share gplus share more share

Hi,

I have a variable like:

$content = '
<i class="fa fa-hashtag" aria-hidden="true">
<a href="http://example.com/tag/digital_marketing">digital marketing</a>
</i>
<i class="fa fa-hashtag" aria-hidden="true">
<a href="http://example.com/tag/seo">seo</a>
</i>
<i class="fa fa-hashtag" aria-hidden="true">
<a href="http://example.com/tag/internet_marketing">internet marketing</a>
</i>';

how to extract the content of a tag like this

Thank You.
Kosmiktechnologies.com
hariprasad p is offline   Reply With Quote


Bookmarks

Tags
“|”, chars, content, html, parsing, separate, sepecial, tags


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:53 AM.