Monday, 9 September 2013

Extract string from a tag using php

Extract string from a tag using php

How to extract the link domain name using php.
Ex,
Search engine <a href="http://www.google.com">Google</a> and <a
href="www.yahoo.co.in">Yahoo</a>
I need from this -
Search engine google and yahoo

No comments:

Post a Comment