One of the standard tasks I needed often is “parsing URLs to its components”. Here you find my simple RegExp driven solution for this problem. advantages small & fast ready to use pure JS: uses only build in standard features it will work in more… Read MoreHow to parse URLs with pure JavaScript