$devtoolkit.sh/tools/find-and-replace

Find and Replace

Find text and replace it with options for case sensitivity and regex.

Case:Scope:Mode:
$input text
0 chars1 lines
$result[READY]
0 chars1 lines

Related Tools

FAQ

How does regex mode work?
In regex mode the Find input is interpreted as a JavaScript regular expression. For example \d+ matches one or more digits. The Replace field supports $1, $2, etc. for backreferences to captured groups.
What does the replacement count show?
The count shows how many substitutions were made. In Replace All mode it reflects the total number of matches replaced. In First Only mode the count is 0 (no match) or 1.
Can I use backreferences in the replacement?
Yes, with regex mode enabled. Use $1, $2, etc. to reference captured groups. For example a find pattern of (\w+) (\w+) with replacement $2 $1 swaps the first two words.

Find and Replace lets you search for text or patterns within a block of text and replace them with a specified string. Options include case-sensitive or case-insensitive matching, global replace all or single first-match replacement, and regular expression mode for advanced pattern matching. The tool shows the replacement count after each operation.

/tools/find-and-replacev1.0.0