Test, validate and match regular expressions
This regex matches Git repository URLs from hosting services ending in .org or .com, supporting HTTP(S), SSH, and Git protocols. It extracts named groups for the connection method (https/git/ssh), provider (github/gitlab/bitbucket), owner, and repository name. Common use cases include URL validation, repository parsing in CI/CD tools, or analyzing project dependencies in package managers.