Likes Received By dsorensen
-
falcondriver liked dsorensen's post in the thread i'm regex challenged: how to get a url out of a string?.
Try: preg_match_all("/<a[^>]*href=(\'|\")([^\'\"]*)[^>]*>/i", $file_contents, $link_array, PREG_OFFSET_CAPTURE);
Sep 26, 2006