PasteCleanly / Guides

Review a text change before sharing

A small replacement can change the wrong word in a long draft. Keep the original and verify the effect before pasting the result elsewhere.

In this guide

Save a clean before version

Before editing a shared document or a batch of pasted text, save a copy you can recognize later. Give it a name that explains the source, such as support-reply-before-product-rename.txt, and keep it separate from your working version. The clipboard is not a backup: it can be replaced as soon as you copy an example or an instruction. For a small edit, you can keep two local tabs; for something a team will review, save two clearly labeled files.

Write one sentence that describes the change you intend to make. For example: “Replace the old product name in customer-facing prose; leave URLs and identifiers intact.” That sentence becomes the checklist for your review. Without it, a diff shows what changed, but it cannot tell you which of those changes were actually wanted. A clean before version also makes it possible to recover if a chain of operations changed punctuation, line breaks or whitespace along the way.

Start by editing a small representative excerpt. Include a normal match and a place where the same letters must stay as they are. A good negative example is just as valuable as a line you expect to change.

Use a literal search for an exact phrase

A literal search looks for the characters you entered rather than interpreting symbols as a pattern. It is the right starting point when correcting a repeated product name, label or phrase. Paste the working copy into the text input and search for the old wording without supplying a replacement yet. Review where the matches occur. For example, if you search for Starter, you may find the plan name in prose and also in a URL slug or a code example.

If the occurrences aren't all equivalent, narrow the search to a longer phrase or work on a smaller selection. Changing Starter plan to Basic plan is more specific than replacing the word Starter everywhere. If the same paragraph contains Starter Plan with a capital P, decide whether you want one rule or separate passes. Using separate passes keeps deliberate variations visible.

Pay attention to spaces and punctuation copied with the phrase. A term surrounded by ordinary spaces may be different from the same term followed by a nonbreaking space. If an expected match is missing, inspect an example from the actual document rather than repeatedly typing what looks like the same phrase.

Find the exact phrase before replacing it

Decide whether case and word boundaries matter

Case-sensitive matching helps when capitalization changes the meaning. For example, May can be a month or a name while may is a verb. Case-insensitive matching is useful when the same label appears at the beginning and middle of a sentence, but do not assume the replacement will automatically preserve the casing of each match. Test a capitalized example and a lowercase one before doing the full pass.

Use whole-word matching to avoid many substring changes. A search for plan should not rewrite planning unless that is what you intend. But a word boundary is not an editorial judgment. A compound such as plan-based, a possessive such as plan’s, and an identifier such as plan_id can behave differently from ordinary prose. Check a sample that contains those shapes if they exist in your input.

When the search contains punctuation, test how the selected mode treats it. For example, you may want to match v2.0 as a literal version label without changing a longer version string. If the options do not express your intent exactly, use the full surrounding phrase or correct those cases separately.

Test case sensitivity and whole-word matching

Make deletions in a separate, visible pass

An empty replacement removes the matched text. That is appropriate for a repeated marker like [DRAFT], but it may leave two spaces where the marker used to be. If the same marker sometimes occupies a complete line, the result might also leave an empty line. Inspect each type of occurrence before deciding what to remove next. Avoid combining marker deletion with all whitespace cleanup in a single unreviewed edit.

For a marker at the start of a line, test whether you want to remove a following space along with it. If the marker appears mid-sentence, keep a separator between the words on either side. Try both cases in a sample: [DRAFT] New title and Revised [DRAFT] version call for slightly different cleanup. If the marker is significant in a code example, leave that excerpt outside the working selection.

If you are removing several unrelated symbols, the character remover can target selected characters, but it does not understand where those symbols are meaningful. Don't remove all punctuation from a list of email addresses or URLs. Use a purpose-built rule only when you understand the format of the whole selection.

Preview a deletion before applying it

Know what the preview does and does not prove

The match count answers “how many times did the selected rule match this input?” It does not answer “how many should be changed?” Compare it with a rough expectation. If you planned to update three headings and see dozens of matches, check whether the target also appears in body copy, references or code. If you see zero, check casing, spaces and punctuation before concluding that the term is absent.

For long text, use the preview to inspect representative matches rather than treating it as a full visual audit. The editor limits how many highlights it shows at once. A phrase that isn't highlighted farther down the preview may still have matched. For a sensitive bulk change, break the source into logical sections and verify each result, or compare the full before and after versions in an appropriate comparison tool.

Make one meaningful replacement at a time. Give each rule a short note, such as “changed old plan label; no URLs edited.” This makes it easier to spot which operation caused a problem. If you apply several unrelated changes at once, a mistaken rewrite can be harder to untangle from the changes you wanted.

Compare the full output with the original

Use the text diff checker with the saved original and the candidate output. A line diff is helpful when you need to know what was inserted or removed and where. Check the first and last change, then scan for edits outside the intended scope. For example, if the plan label should change only in prose, look for edits in URLs, file names, identifiers, examples and quoted material.

Read the context around each change. A replacement can be technically correct but leave the surrounding grammar wrong. Changing a singular label to a plural phrase may require adjusting a nearby verb. Removing a qualifier may change the tone. For customer-facing text, read the final sentence independently of the diff; the diff draws attention to changes, but a reader sees the whole sentence.

Very large text comparisons have a processing budget. If the diff cannot give a detailed comparison, divide the input on stable section boundaries and compare matching sections. Keep the original line order and label each pair. Do not treat an abbreviated result as proof that everything outside the displayed changes is identical.

When line mode points to the right place, switch to Words to see what changed inside the sentence. For example, when “send the revised estimate on Tuesday” becomes “send the final estimate on Thursday”, check both the status of the estimate and the day. The unchanged text remains around the two edits. If two product labels differ by just one digit, use Characters instead: Plan 204 and Plan 208 should show the last digit changing, not the entire identifier. Leave the surrounding text visible for the first pass; turning on Show changes only is helpful once you know where the edits belong.

Character comparison also helps when two versions look identical. A nonbreaking space and an ordinary space look alike between words, but they can affect wrapping or exact searches. The preview marks them with different symbols, and the report encodes the nonbreaking space as \u00a0. The diff treats Windows and Unix line endings alike, but does not normalize accents or Unicode typography. To find the code point behind an invisible character, copy a small excerpt into the invisible character inspector instead of assuming the change is an error.

Open the text diff checker and switch between lines, words and characters

Use list comparison for membership, not wording

A line diff cares about order and context. The list comparison tool answers a different question: which entries appear in both versions and which are unique to one? For example, if you alphabetize a list of resources, a line diff may show many moves while the set of links stays the same. List comparison helps verify that nothing was accidentally dropped during sorting.

Decide whether a repeated entry is significant. Two identical lines might represent two separate reservations or they might be a duplicate introduced by copying. A membership comparison doesn't tell you how many times each entry should appear. If repetition matters, compare counts too and use a stable identifier for each record rather than its displayed label.

Similarly, normalized comparison options can be helpful for plain names but inappropriate for case-sensitive codes. Test case sensitivity and trimming on a pair that should count as distinct. If a row has fields separated by tabs or commas, compare one intentionally extracted key per line. Otherwise a changed description can make the entire row appear as a new item even though its identifier is unchanged.

Look for side effects in counts and formatting

The word and sentence counter is useful for sanity checks. If you replaced a two-word name with another two-word name, a large drop in the word or line count is unexpected. It may indicate a pasted excerpt instead of a whole section or an accidental deletion. Counts are not a substitute for the diff: two texts can have the same totals while meaning entirely different things.

Watch for changes in quote marks, curly apostrophes, hard spaces or line endings. The receiving platform may render two strings identically even though its search treats them differently. If a difference seems invisible, use the invisible character inspector on a short affected passage. Keep useful typography and only change the character that is causing a real problem.

If there is a length limit, check which unit the destination uses. A counter might report words, Unicode characters or bytes, while a form has a specific limit. Paste a representative sample into the actual form before relying on the count. For a multilingual document, don't assume all scripts segment words or sentences in the same way.

Apply, undo and export with clear version boundaries

The editor keeps input and result separate. Read the result before applying it back to the input, especially when a previous step generated good output that you want to keep. Use apply only when the next operation should work on the current result. When you want to start again from the original, paste from your saved copy rather than attempting to reverse several replacements by hand.

Undo helps inside the current editing session, but your saved original is the source of truth. Copy or download the final text under a name that makes its purpose clear. Keep the working draft if a teammate needs to inspect the changes. Do not overwrite the only copy of a source export before the downstream version has been accepted.

If the destination is rich text, there is a separate choice about preserving formatting. A plain-text edit won't preserve links as clickable labels, list indentation from a word processor or colors from a design file. Compare the content in plain text, then reapply the intended formatting in the destination. If a URL was visible only as a linked label, check the actual destination after pasting.

Practice with a change you can verify

Suppose a customer guide should say Basic plan instead of Starter plan. The excerpt also contains /pricing/starter-plan/, a case example labeled Starter Plan, and the sentence “Use the starter settings.” Save the before version. Search for Starter plan with case matching on. Replace the intended occurrence, then decide separately how the example title should look. The URL and the sentence about starter settings should remain unchanged.

Check the before and after side by side. Read the sentence where the name changed and make sure an article or heading still reads naturally. Then paste the final candidate into the actual publishing field and check the resulting preview. In particular, confirm the old URL remains the same if the publishing field converts it to a clickable link.

If you share the file for review, summarize both the change and the deliberate exceptions. For example: “Updated the visible plan label; did not rename routes or settings.” That lets the reviewer focus on the intent. When a future change uses the same process, save the checklist and the small sample; it is more dependable than trying to remember which buttons you clicked last time.

Run the final controlled pass in Find and Replace

One final check is to copy the result back out of the destination into a clean tab. If the receiving application adds indentation, substitutes smart punctuation or trims the last line, this reveals a change that was not made by the editor.