Objective: To search and list URLs from HTML markup. Usage: $url_list = extract_urls($html);

Provide it an HTML page or text with links in it and it'll result in a list of URL's as a multi-dimensional array.