Regex How To Parse A Url Using Javascript And Regular Expression

Regex How To Parse A Url Using Javascript And Regular Expression