A Liberal, Accurate Regex Pattern for Matching URLs Friday, 27 November 2009 [Update, 27 July 2010: This article has been superseded by this one, which presents a superior solution to the same problem.] A common programming problem: identify the URLs in an arbitrary string of text, where by “arbitrary” let’s agree we mean something unstructured such as an email message or a tweet. I offer a soluti

