Reverse Lines
Flip a list upside down so the last line becomes the first.
Replace every match in a block of text, with regex when you need it.
Type something in the find box to start.
Find and Replace swaps every match in a block of text for something else, with regular expressions when the thing you are matching is a pattern rather than a word. The result appears beside the original as you type, with a count of how many matches changed.
Some edits are too small for an editor and too fiddly for a spreadsheet: swapping a name through a document, stripping a prefix off 400 URLs, turning every straight quote into a curly one. Paste the text, type what to find and what to put in its place, and the result appears beside it as you type with a count of how many matches changed.
Match case and whole words only cover most jobs. Turn on regular expressions when the thing you are matching is a pattern rather than a word, and capture groups written as a dollar sign followed by a number work in the replacement field.
The escape option lets you type a line break as a backslash n and a tab as a backslash t in either box, which is how you split one long line into many, or collapse a column of values into a comma-separated list. Use as input feeds the result back into the box so you can run several replacements in a row.
Match patterns rather than fixed words, with capture groups written as a dollar sign and a number available in the replacement.
The two options that cover most everyday jobs, without needing to write a pattern at all.
Type a line break as a backslash n and a tab as a backslash t to split one long line into many, or collapse a column into a comma-separated list.
You can see how many matches a pattern hits before you commit to the replacement.
Use as input feeds the result back into the box so several passes can be run one after another.
Drop the text you want to edit into the left box.
Enter the word or pattern to look for, then what should replace it. Leave the second box empty to delete matches.
Turn on match case, whole words only, or regular expressions depending on how precise you need to be.
Check the match count, then copy the edited text or feed it back in for another pass.
Yes. Turn on the escape option and type a backslash followed by n in the replace box. The same works in the find box, which is how you join many lines into one.
Yes. Tick the regular expression option and your pattern is used as-is, including character classes, quantifiers and anchors. Capture groups are available in the replacement as a dollar sign followed by the group number.
Not unless you ask. Match case is off by default, so a search for colour finds Colour too. Turn it on when capitalisation is part of what you are matching.
No. The replacement runs in your browser, so contracts, internal documents and source code never leave your machine.
What people who use the Find and Replace think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Find and Replace. It takes half a minute and no account.
Write the first reviewFlip a list upside down so the last line becomes the first.
Combine two lists side by side, line by line.
Split a document into paragraphs and measure each one.
Find and normalise every phone number in a text.
Build a complete, valid URL from text and parameters.
Spell out text using Alfa, Bravo, Charlie and the rest.
Decode UTF-8 bytes and fix mojibake.
Randomise a text at the level you choose: lines, words or letters.