Regex tester
Pattern
Input
bears beets battlestar galactica
Options
Replacement
Tip: Click the table or context tab to see your replacement results.
3 matches found in about 2 milliseconds.
IndexPositionMatched String$1
00bearss
4 captures
  1. e
  2. a
  3. r
  4. s
16beetss
4 captures
  1. e
  2. e
  3. t
  4. s
212battlestarr
9 captures
  1. a
  2. t
  3. t
  4. l
  5. e
  6. s
  7. t
  8. a
  9. r
bears beets battlestar galactica
  1. empty string
  2. s
  3. whitespace
  4. s
  5. whitespace
  6. r
  7. galactica