Find and replace
Find and replace text with plain words or regular expressions with capture groups, a live match count and highlighted matches.
Questions
How do I use capture groups?
Turn on "Regular expression", wrap parts of the pattern in parentheses and use $1, $2 and so on in the replacement. Named groups work too: (?<year>\d{4}) and $<year>. $& inserts the whole match.
Can I insert a line break?
In regular expression mode, \n in the replacement becomes a new line and \t a tab. In plain mode the replacement is used exactly as typed.
Which regular expression syntax is this?
JavaScript's, with the Unicode flag on, so \p{L} matches any letter. ^ and $ match at the start and end of each line.