code scans each link with a regx and returns the link