Replace with found

Find pattern

( X ) ( Y ).

Replace

Y. \1.

Y. \2.

Each parenthesis set referred by index.

"((.)+)".

\n

Newline in replacement text.

Updated: 2026 Aug 19