updated regex for url