Hi, I need help by extracting all domain names from the sourcecode of a webpage.
For example:
$source = "<b>domain1.com</b> <b>domain2.net</b> <b>domain3.org</b>";
I need to parse it with preg_match_all and then the result should be in one array.
Array (
[1] => domain1.com,
[2] => domain2.net,
[3] => domain3.org
)
Can anyone help me with the regular expresion?
Thanks in advice!