This regex pattern is designed to validate URLs with the following key features:
http:// or https://.www. and valid subdomains.--) in domain or subdomain names./) at the end of the URL.https://www.example.comhttp://example.orgexample.net/http://-example.com (invalid hyphen usage)https://example..com (double dot)ftp://example.com (unsupported protocol)Feel free to test and tweak as per your requirements! 🎯