The Regex Wizard

Where the arcane meets the algorithmic.

Today's Trick:

1. Find all cats in a string. (Example | Cheat Sheet)

2. Count the number of mice in a string. (Example | Cheat Sheet)

3. Find all bat patterns in a string. (Example | Cheat Sheet)

Need Help? Check out our Cheat Sheet for more regex tricks and tips.