actually after doing a little more research I found that the link is MORE dynamic than I thought. I need to match anything after page.com/files\d+... until after the .jpg . No other part of the page has /files\d+ so if it finds a match, it'll always be the right one. Can someone help with this?