I have spent over an hour trying to get this to work I want to extract the values between ":" and ","eng_data& the result will be a long list of IDs like this: 40027521936 . . . here is the file http://fdguirhgeruih.x10.mx/html.txt Nothing is working..need help
<?php $data = file_get_contents("http://fdguirhgeruih.x10.mx/html.txt"); preg_match_all("|":"([0-9]+)","eng_data&|s",$data,$preg_d); print_r($preg_d); ?> Code (markup):