Further Improvements to My Improved Liberal, Accurate Regex Pattern for Matching URLs

February 8, 2014

john gruber / programming / regex

I’ve needed a good regex for matching URLs many times over the years, and this one (in the last couple) has proven to be the one for me. Now, it’s updated, and hosted at Gist.