Jump to content

query about strings


jaay

Recommended Posts

I have a string where some simple html is stored. Here's the example

 

<a href=http://someurl.com>Anchor Text1</a>, <a href=http://someurl.com>Anchor Text2</a>, <a href=http://someurl.com>Anchor Text3</a>

 

Now, I need only the anchor text part not the <a> tags or the url within it. How to do it in PHP?

 

 

Link to comment
https://forums.phpfreaks.com/topic/199853-query-about-strings/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.