beautiful snej soup, yum
About
My name is Jens.
I'm a geek. The good kind.
I'm interested in many things ...
Accounts
My stream
My TV
My friends
Newer posts are loading.
You are at the newest post.
Click here
to check if anything new just came in.
December
02
2009
17:09
A Liberal, Accurate Regex Pattern for Matching URLs
\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/))) 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.
Tags:
programming
parsing
library
web
#
React
← Front page