Regex tester
Pattern
Input
adad

1111

1212

12345

abcdefg
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 1 millisecond.
IndexPositionMatched String$1
00adadad
18111111
216121212
adad
​
​1111
​
​1212
​
​12345
​
​abcdefg
  1. empty string
  2. ad
  3. whitespace
  4. 11
  5. whitespace
  6. 12


  7. 12345

    abcdefg