I keep a lot of snippets on my work computer but the one I come back to the most is my regex cheat sheet. I find it so helpful that I’m posting it here for others to enjoy as well.
(Pasting in monotype to preserve markdown formatting)
REGEXP CHEAT SHEET
By @geochronology - https://github.com/geochronology
Checks if regex matches var
Returns array of pattern matches
* Without /g…