xor83 Posted February 28, 2009 Share Posted February 28, 2009 How can extract all URL for a specific domain only for example www.abcd.com/text.zip and it should ignore all other URL's? Link to comment https://forums.phpfreaks.com/topic/147339-extract-url-specific-domain-only/ Share on other sites More sharing options...
dt192 Posted February 28, 2009 Share Posted February 28, 2009 if your looking to take it from inside html then try: preg_match('|href="(abcd\.com.*?)"|ism', $text, $match); Link to comment https://forums.phpfreaks.com/topic/147339-extract-url-specific-domain-only/#findComment-773506 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.