toURLOrNull

Return

a URL from this string if it's a valid URL, or null otherwise