Matches web addresses that start with http or https. It captures the path, query, and fragment that follow the protocol as a single chunk of non-whitespace characters. Handy for pulling links out of text.
Example Matches
https://example.com
http://a.co/path?q=1#frag
Test String
Visit the sites https://example.com and http://a.co/b?c=1.