Add regular expression for url parsing