Regex tester
Pattern
Input
a, \\a, \\\\a
\a, \\\a, \\\\\a
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 4 milliseconds.
IndexPositionMatched String$1
00aempty string
13\\a\\
28\\\\a\\
2 captures
  1. \\
  2. \\
a, \\a, \\\\a
​\a, \\\a, \\\\\a
  1. empty string
  2. ,
  3. \\
  4. ,
  5. \\

  6. \a, \\\a, \\\\\a