Regex tester
Pattern
Input
12345
52413
12543

11234
12234
12334
12347
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 15 milliseconds.
IndexPositionMatched String$1$2$3$4$5
0012345 empty stringempty stringempty stringempty stringempty string
1752413 empty stringempty stringempty stringempty stringempty string
21412543 empty stringempty stringempty stringempty stringempty string
123455241312543
​
​11234
​12234
​12334
​12347
  1. empty string
  2. whitespace
  3. whitespace


  4. 11234
    12234
    12334
    12347