PDF tasks · Fixes
Fix words split across lines with stray hyphens after copying from a PDF
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
- Compound words: well-known, follow-up, long-term, state-of-the-art, check-in. If the joined result is not a standard word (“wellknown,” “followup” as a noun phrase), the hyphen was real — put it back.
- Ranges and values: pages 12-15, 2024-25, 9-5 hours. These rarely sit at a line end mid-split, but a value broken across lines (“2024-” / “25”) must keep its hyphen when rejoined.
- Prefixes and codes: re-enter, co-operate in some house styles, and any part number, code or identifier containing hyphens. Identifiers are never rejoined by guesswork — compare them against the PDF.
- The test: read the joined word aloud as one word. If it is the word the sentence needs (“information,” “together,” “because”), the hyphen was a split. If the joined form looks wrong, is not in the dictionary, or changes a number's meaning, the hyphen stays.
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.
- 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.
- 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.
- 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.
- 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
- No word in the pasted text is split across a line end with a stray hyphen, and a search for “- ” at line ends and for doubled spaces comes back clean.
- Genuine hyphens survive: compounds, ranges, values and identifiers read exactly as they do in the PDF.
- Sentences run in full paragraphs, the spelling checker reports no joined-word errors, and every number and name has been compared against the PDF once.
When it goes wrong
- Replace All reports zero replacements but splits remain. The break character is not the one you searched for. Turn on formatting marks, look at the exact symbol at the line end, and match the code to it — ^p for a paragraph mark, ^l for a manual line break.
- Compounds got joined across the whole document. Undo (Ctrl+Z) while the replaces are still in the undo history, then redo the pass using Find Next and Replace one match at a time, skipping genuine compounds.
- The pasted text has a space before each split half instead. Some PDFs paste as “informa- tion” on one wrapped line. Search for - (hyphen-space) in word-internal contexts only — check each match individually, because hyphen-space is also legitimate punctuation in some styles.
- Every line is a separate paragraph and there are hundreds. For a long, purely prose paste with no headings or lists, a paragraph-rejoin tool or macro may be worth it — but test it on a copy of one page first. For a short paste, the manual pass is quicker and safer.
Related document tasks
-
Fix a PDF that prints blank pages or cuts off the edges
Fix a PDF that prints blank pages or cuts off the edges: check Actual size versus Fit in the print dialog, try Print as image, and rule out empty pages, paper-size mismatches and the viewer itself.
-
Lock a PDF against copying text while still letting people read and print it
Sometimes a document should be easy to read and print but not easy to lift text out of — a price list, an exam, a draft that should circulate as-is.
-
Split one PDF into separate files by page range
Split a long PDF into separate files by page range with PDFsam Basic, with Acrobat, or with a free online splitter.
-
Print only part of a document in Word and in a PDF
A 40-page report rarely needs 40 printed pages.
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.