Regex tester
Pattern
Input
baaaab
Options
Replacement
Click the context tab to see replacements.
1 match found in about 2 milliseconds.
IndexPositionMatched String$1
00baaaabaa
2 captures
  1. aa
  2. aa
baaaab
  1. empty string
  2. aa
  3. empty string