Cleaning up RegEx for url reading