Validates a proper url format. The string must contain http:// or https://