Regex tutorial — A quick cheatsheet by examples

Jonny Fox
Jonny Fox
Jun 23, 2017 · 6 min read

UPDATE 1/2021: “Bracket expressions” and “escape rule” -> Thanks to MoveUpHealth

Check out my REGEX COOKBOOK article about the most commonly used (and most wanted) regex 🎉

Regular expressions (regex or regexp) are extremely useful in extracting information from any text by searching for one or more matches of a specific search pattern (i.e. a specific…