Learning regular expressions tends to involve a lot of trial and error and can be confusing for newcomers. RegExr is an online tool that lets you learn more interactively. Add a body of text in one area and type various regular expressions in another. Matches are highlighted and errors are noted on the fly, which is kind of perfect. Even if you aren’t new to regular expressions, this is worth bookmarking for later.
Learn regular expressions with RegExr
Projects by Nathan Yau See All →
Years You Have Left to Live, Probably
The individual data points of life are much less predictable than the average. Here’s a simulation that shows you how much time is left on the clock.