fix url regular expression with something that should work for all URLs when an URL contains %20 which is space it crashes