Skip to content
DocumentTaskLab

PDF tasks · Fixes

Fix words split across lines with stray hyphens after copying from a PDF

Written November 23, 2026

You paste three pages out of a PDF and every second line ends mid-word — “informa-” on one line, “tion” on the next — because the PDF stored the printed hyphenation, not the words. Fixing each break by hand takes forever. This guide rejoins the split words in Word with a small set of Find and Replace passes, protects the hyphens that are genuinely part of a word, and finishes with the short manual pass that catches what automation safely cannot.

Look at what actually got pasted

Before replacing anything, find out which kind of break the paste contains, because the replacement differs. Turn on formatting marks (Home > Show/Hide ¶) and look at the end of a broken line. Word's Find and Replace codes are covered in Microsoft's help on finding and replacing text — the two cases below use its paragraph-mark and manual-line-break codes.

  1. Case A: hyphen, then a paragraph mark. The line ends with “-¶” — each printed line pasted as its own paragraph. This is the most common result from copying PDF text, and it means paragraphs are broken too, not just words.
  2. Case B: hyphen, then a line break inside one paragraph. The line ends with a hyphen and a bent-arrow line-break symbol. The paragraph survives; only the word is split.
  3. Save a copy before you start. Save the document under a new name (File > Save As) so a replace that goes wrong can be abandoned. Bulk replaces across a long paste are hard to undo one by one once you close the document.
  4. Note the real hyphens in the text. Scan for words that are hyphenated by nature in this document — well-known, follow-up, page numbers like 2024-25, part numbers, phone numbers. You will protect these in the next sections; write down any unusual ones you spot.

Rejoin split words with Find and Replace

Work in the Find and Replace dialog (Ctrl+H). Keep “Use wildcards” off for these passes — the codes below are Word's ordinary special codes, typed exactly as shown. Run the passes in order, and use Find Next on the first few matches of each pass to confirm the replacement looks right before choosing Replace All.

  1. Pass 1 — hyphen + paragraph mark (Case A). In Find what, type -^p (a hyphen followed by the code ^p for a paragraph mark). In Replace with, type nothing at all — leave the box empty. Replace All. “informa-¶tion” becomes “information” inside a single run of text, and the false paragraph break disappears with it.
  2. Pass 2 — hyphen + manual line break (Case B). In Find what, type -^l (hyphen plus ^l, the code for a manual line break — that is a lowercase L). Replace with: empty again. Replace All. Use this pass only if your paste actually contains line breaks; on a Case A paste it will simply find nothing, which is fine.
  3. Pass 3 — fix the spaces the joins left behind. A split that fell at a word boundary rather than inside a word can leave “word- word” patterns or doubled spaces after joining. Search for two spaces and replace with one space, repeating Replace All until Word reports zero replacements.
  4. Pass 4 — rejoin the remaining broken paragraphs (Case A only). If every printed line is still its own paragraph, the sentences now run correctly inside each line but stop at every line end. There is no safe one-click fix for whole paragraphs, because real paragraph breaks look identical to false ones. Handle this in the manual pass below — do not run a blanket paragraph-mark removal across a document with real paragraphs, headings or lists.
Why Replace All needs a spot-check first

A hyphen at a line end is usually a split word — but not always. A compound that happens to fall at a line end (“a well-” / “known fact”) looks exactly like a split, and Replace All will join it into “wellknown.” That is why the order matters: eyeball the first matches with Find Next, and if the document is full of genuine end-of-line compounds, work through the matches one at a time with Replace instead of Replace All. The next section shows how to tell the two apart.

When a hyphen is real and must stay

Keep the hyphen when removing it would change the meaning or break a value. After the rejoin passes, search the document for the patterns below and restore any hyphen the passes wrongly removed — or, if you spot them beforehand, work that section manually instead of with Replace All.

The manual pass

Automation rejoins words; only reading rejoins sense. Finish with one pass through the whole pasted text — it is faster than it sounds, because your eye is now looking for just three things.

  1. Run the spelling checker and question every joined word. Press F7 or use Review > Spelling & Grammar. Wrongly joined compounds (“wellknown”) are exactly what the checker flags. For each flag, decide: real word, or restore the hyphen.
  2. Rejoin false paragraph breaks by hand (Case A). Where a sentence continues across a line-end paragraph mark, click at the start of the continuation line and press Backspace to pull it up, adding a space if the join needs one. Leave the break alone where a heading, a list item or a true new paragraph begins.
  3. Compare numbers and names against the PDF. Read every figure, date, name and code in the pasted text against the original PDF once. Splits inside numbers are the errors readers act on, and neither the checker nor a skim reliably catches a wrong digit.
  4. Read the first and last paragraph in full. Pastes most often go wrong at the seams — the first lines under a heading and the lines around a page turn in the PDF. A full read of the two ends catches leftover breaks the pattern passes missed.

End state

When it goes wrong

Related document tasks

Sources

  • Microsoft Support, Find and replace text — the Find and Replace dialog, Replace All, and the special codes for paragraph marks and line breaks used in the rejoin passes.
  • Adobe Help, Copy text and images from PDFs — how copying text out of a PDF works in Acrobat, and why pasted text can differ from the printed layout.