Add a regex for url checking. Closes #220