Regex tester
Pattern
Input
Foo { {private const char BAR = '{'}; private string _qux = '{{{'; }
Options
Replacement
Click the context tab to see replacements.
1 match found in about 1 millisecond.
IndexPositionMatched String${Open}${Content}
00Foo { {private const char BAR = '{'}; private string _qux = '{{{'; }empty string {private const char BAR = '{'}; private string _qux = '{{{';
2 captures
  1. private const char BAR = '{'
  2. {private const char BAR = '{'}; private string _qux = '{{{';
Foo { {private const char BAR = '{'}; private string _qux = '{{{'; }
  1. empty string
  2. {private const char BAR = '{'}; private string _qux = '{{{';
  3. empty string