Category Archives: regex

Parse Query String Into Associative Array With JavaScript 2

So, there are lots of functions out there to do this, but this one is my favorite for a couple of reasons. It parses the entire query string as soon as you call the function, whereas other functions require passing in a parameter which the value for the parameter is then extracted from the query [...]