The Lazy Man’s URL Parsing in JavaScript

Posted: May 08, 2012 Comments

The Lazy Man's URL Parsing in JavaScript | Joe Zim's JavaScript Blog.

This is really quite brilliant. All to often I find myself over-thinking problems when a perfectly acceptable answer is under my nose. This is one of those examples. Although I can’t think of a specific instance offhand, I know that I’ve attempted to break out a URL for parsing in JavaScript. Regex got involved it was a huge big mess. Why oh why didn’t I come up with this myself?!

Get my newsletter

Receive periodic updates right in the mail!

  • This field is for validation purposes and should be left unchanged.

Leave a Reply

Your email address will not be published. Required fields are marked *