Hi, this isn't the best solution, but, I think it will work. Try it and tell me. Bye!
<?
while(!feof($fp)) {
$line = fgets($fp, 2048);
if(ereg("\"(http://specificdomain/[\"]*)", $line, $url_arr)) {
// if match the regex, store it in url_arr
echo "URL: " . $url_arr . "<br>\n";
}
}
?>
HTH
inkel