Validates URL format.
Accepts URLs with or without protocol. URLs without protocol are tested with https:// prefix. Requires a valid hostname with at least one dot (e.g., example.com).
URL string to validate
true if URL is valid
Validates URL format.
Accepts URLs with or without protocol. URLs without protocol are tested with https:// prefix. Requires a valid hostname with at least one dot (e.g., example.com).