Make function to extract urls from current line