Test, validate and match regular expressions
This regex matches the beginning of a line that starts with either 'http://' or 'https://'. It captures the protocol scheme including the colon and forward slashes. It is commonly used for extracting, validating, or removing the HTTP protocol prefix from URLs.