About the Find and Replace
Find and Replace performs bulk replacements in any text — plain string mode for everyday edits, or full regular expression mode with capture groups ($1, $2) for power users. A match counter shows how many replacements were made.
Yes — enable regex mode and use JavaScript regex syntax, including capture groups referenced as $1, $2 in the replacement.
In regex mode, search for \n to match line breaks.