Regex tester
Pattern
Input
21
Options
Replacement
Click the context tab to see replacements.
1 match found in about 1 millisecond.
IndexPositionMatched String$1$2$4
00211
2 captures
  1. 2
  2. 1
empty stringempty string
21
  1. empty string
  2. 1
  3. empty string
  4. empty string