RFC 3986: Uniform Resource Identifier (URI)
Please not that this expression is for identifying parts of generic URI's, you may be looking to recognise URL's or http(s) addresses specifically.
Did my best to implement the capture groups laid out in RFC 3986.
Priority was on readability, so likely not universally compatible between 'regex flav...
Submitted by MathsStan - a month ago (Last modified a month ago)