Unicode-aware counts, reading time and platform limits
Find & Replace
Find and replace text literally or with a regular expression using i, m and s flags, whole word, named groups $<name>, two chained rules and a match count.
Workspace
Rule 1
Rule 2
Result
How the result is calculated
Rules run in order and the output of the first is the input of the second. In literal mode the search text is escaped and $ in the replacement is an ordinary character; in regex mode the JavaScript flavour with the Unicode flag (u) is used with $1, $& and $<name> for named groups. “Whole word” wraps the pattern in Unicode letter/digit boundaries. The match count is taken before replacing.
(?i), possessive quantifiers) are unsupported. There is no timeout against catastrophic backtracking: a bad pattern can freeze the tab, and the text limit is two million characters.FAQ
How do I use named groups?
Enable regex and write (?<y>\d{4})-(?<m>\d\d), replace with $<m>/$<y>.
Why does my pattern not match?
Check flags and the expression; the tool uses the JavaScript flavour.


