Parses the given URL string and returns a Url object if valid, otherwise, it returns null.
null
A Url object if the URL is valid or null otherwise.
The URL string to be parsed.