extract url from string