Parse URL by subcomponent
This regular expression parses URLs and captures their subcomponents.
${2}${3}${4}${5}${6}${7}` ==> Fragment
It ignores port numbers. Port numbers are necessary. But, they are rarely visible in URLs. When used in a URL, it comes after the TLD separated by a colon. When using HTTP, port 80 is sta...
Submitted by Syd Salmon - 5 years ago