Use DOMDocument instead of regex to crawl sites