Regex tester
Pattern
Input
text1 (text2) text2
Options
Replacement
Click the context tab to see replacements.
2 matches found in about 5 milliseconds.
IndexPositionMatched StringReplacement$1
06empty stringwhitespaceempty string
112)) )
text1  (text2)  text2
  1. text1
  2. (text2
  3. )
  4. text2