Text Tools

Find and Replace Text

Search for words, characters, or pattern expressions (Regex) in your text and replace them instantly. Supports case-sensitivity and whole word matching.

Input Text
Replaced Result

What is this tool?

Find and Replace Text is a text editing utility that searches for specific sequences of characters (or patterns) and replaces them with another string. It is highly useful for mass-editing templates, updating variables in code, renaming terminology, or cleaning structured formatting.

How to use it

1. Paste your text into the Input editor.

2. Type the word or pattern to find, and what to replace it with.

3. Configure options such as Case Sensitive, Whole Word, or Regular Expression.

4. Click "Replace" or view the real-time changes on the right side, along with the total match count.

Pro tips

  • Use Regex mode with group captures (e.g. Find: `(\w+)\s+(\w+)`, Replace: `$2, $1`) to quickly swap first and last names in lists.
  • Leave the "Replace" input empty if you want to completely delete all occurrences of the "Find" term.

Frequently asked questions

What is the "Whole Word" option?

When checked, the tool only replaces matches that stand as separate words. For example, searching for "cat" will match "the cat" but will ignore the "cat" inside "category" or "concat".

How do I use Regular Expressions (Regex) in this tool?

Check the "Regular Expression" option, and enter your regex pattern in the "Find" input field. You can use standard regex groups (like $1, $2) in the "Replace" field to perform complex transformations.

Is there support for escape characters like newlines (\n)?

Yes! In standard mode, you can search/replace normal text. In Regex mode, typing "\n" or "\t" in the search input matches actual line breaks or tabs respectively.