How to findout the string and fetch url using regular expression (regex) in php.
Example in:
this is test
<?php<as+([^>]*)href="(https?:\/\/([^"]*))"\s+([^>]*)title="xyz"(.*?)>(.*?)<\/a>
?>you can get the url by partial match $2.
How to findout the string and fetch url using regular expression (regex) in php.
Example in:
this is test
<?php<as+([^>]*)href="(https?:\/\/([^"]*))"\s+([^>]*)title="xyz"(.*?)>(.*?)<\/a>
?>