Regex tester
Pattern
Input
6 cakes 5 donuts 12 muffins
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 1 millisecond.
IndexPositionMatched String
006 cakes
185 donuts
21712 muffins
6 cakes 5 donuts 12 muffins
  1. empty string
  2. whitespace
  3. whitespace
  4. empty string