A much better regex for checking urls.