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
.*Regex Tester
Test regular expressions against text with real-time match highlighting.
+-Text Diff Checker
Compare two texts side by side and highlight differences.
AaCase Converter
Convert text between UPPER, lower, Title, camelCase, snake_case, and more.
RevReverse Text
Reverse text by characters, words, or lines.
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.