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 FlowingData See All →
Peak Non-Creepy Dating Pool
Based on the “half-your-age-plus-seven” rule, the range of people you can date expands with age. Combine that with population counts and demographics, and you can find when your non-creepy dating pool peaks.
What Alcohol People Around the World Drink
Americans get most of their alcohol from beer, but it’s not like that everywhere.
Restless Sleep With Age
It seems like no matter what I do, I cannot sleep through the night. Will it ever let up? According to the data, the answer is no and it will only get worse.