Find and Replace — online
Find and replace text with optional regex support.
How to use Find and Replace
Paste your text into the input field
Click the large text area labeled 'Enter text here' and paste or type the content you want to edit. You can input up to 1MB of text.
Enter the text you want to find
Type your search term in the 'Find' field. For pattern matching, enable the 'Use Regex' checkbox to unlock regular expression support.
Type the replacement text
Enter what you want to replace the found text with in the 'Replace with' field. Leave blank to delete matches.
Choose replace options
Select 'Replace All' to replace every instance at once, or 'Replace' to change one match at a time. Toggle 'Case sensitive' if you need exact case matching.
Copy or download your result
Click 'Copy to clipboard' to copy the edited text, or click 'Download' to save as a .txt file.
Frequently Asked Questions
Related Tools
Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, and more.
Remove Extra Spaces
Remove extra whitespace, double spaces, leading and trailing spaces from text instantly.
Remove Duplicate Lines
Remove duplicate lines from text instantly. Keep unique lines, sort, and clean up lists easily.