update regular expression for better url validation