Find and Replace Enter in Word: Paragraph Marks Explained

How-to basics · Updated November 3, 2026

Find and Replace Enter in Word: Paragraph Marks Explained

To find and replace an Enter in Microsoft Word for Microsoft 365 on Windows, open Home > Replace (or press Ctrl+H), enter ^p in the Find what box, and enter the replacement in Replace with. The code ^p represents a paragraph mark; for a manual line break made with Shift+Enter, use ^l instead.

What Enter does in a Word document

Word distinguishes between a paragraph and a new line within a paragraph. Pressing Enter ends the current paragraph and starts another one. Pressing Shift+Enter inserts a manual line break: the text moves to the next line, but remains part of the same paragraph. That distinction affects spacing, numbering, alignment, and how Find and Replace can change the document.

Paragraph marks and line breaks are normally invisible. To see them, choose Home > Show/Hide ¶, or press Ctrl+Shift+8 on Windows. Word displays a pilcrow (¶) at each paragraph ending and a bent arrow at each manual line break. These marks are editing symbols, not characters that will appear in a normal printout.

When a reader asks how to find an Enter, they usually mean one of two things: locating paragraph endings created with Enter, or locating line breaks created with Shift+Enter. Identify which one is in the document before making a global replacement. Applying the paragraph code to line breaks, or vice versa, may leave the unwanted formatting untouched.

Find paragraph breaks with ^p

In Word for Windows, open Home > Replace and enter ^p in Find what. Leave Replace with empty if you only want to locate the breaks, then select Find Next to move through matches. To change them, enter the desired replacement and choose Replace for one match or Replace All for every match.

The caret-and-letter sequence is a search code, not text to type into the document. In an ordinary search, Word interprets ^p as a paragraph mark. You can also enter it directly in the Find what box; there is no need to copy a visible pilcrow from the page. If you prefer the dialog controls, open the expanded Find and Replace options and use Special to select the relevant character where that option is available.

On a Mac, open the Replace controls from the Home tab or the Edit menu; the exact presentation varies by Word version. Avoid relying on a Windows shortcut, because Mac keyboard mappings differ. Word for the web has basic Find and Replace, but its controls for special characters can be limited; if the codes are not accepted, open the document in the desktop Word app.

Replace paragraph marks with another character

Replacing paragraph marks is useful when imported text has one short line per paragraph, or when a list of values needs to become a single line. For example, if a document contains three paragraphs—North, South, and West—finding ^p and replacing it with a comma and a space joins the text as North, South, West. The final paragraph mark at the end of the document may also be included in the matches, so inspect the result for an extra separator or trailing space.

To turn paragraph breaks into spaces, use a single ordinary space in Replace with. This avoids joining words together. To join paragraphs with no gap, leave that box empty, but check the resulting text carefully: the last word of one paragraph and the first word of the next will touch unless the text already contains spaces.

To change a delimiter into paragraphs, reverse the idea. If each item is separated by a semicolon and a space, find that exact separator and replace it with ^p. For instance, replacing semicolon-space in “apples; pears; plums” with ^p creates three paragraphs. Search for a precise delimiter rather than a common character when possible; a broad search can split words or sentences unintentionally.

Remove extra blank paragraphs

Repeated paragraph marks often create empty paragraphs that make a document look uneven. To find consecutive paragraph endings, enter ^p^p in Find what and use ^p in Replace with. This reduces two consecutive paragraph marks to one, removing the blank paragraph between the text above and below.

If there are several empty paragraphs in a row, one Replace All pass may reduce the runs without removing every blank line. Run the replacement again if needed, then review the document. Do not use a broad replacement blindly in a document where blank paragraphs intentionally separate sections, form fields, or other layout elements.

A blank-looking gap is not always an empty paragraph. Paragraph spacing may instead be set in the paragraph formatting. If removing repeated ^p marks does not close a gap, turn on Show/Hide and inspect the document; if there is just one paragraph mark, check the paragraph spacing settings rather than continuing to delete breaks.

Find and replace Shift+Enter line breaks

Use ^l (a caret followed by a lowercase L) to find a manual line break. Put ^l in Find what, then choose a replacement such as a space, nothing, or ^p. Replacing ^l with ^p turns each manual line break into a new paragraph; replacing it with a space joins the lines within the same paragraph.

This is particularly useful for text copied from websites or PDFs, where lines may wrap at narrow page widths and arrive as manual breaks. If each visual line becomes a separate line in Word, replacing every ^l with a space can restore continuous text. However, the same kind of break may have been used deliberately in an address, poem, or heading. Review examples before choosing Replace All.

Conversely, do not assume every visible new line is a manual break. A paragraph mark and a line break look different when formatting marks are shown. If ^l finds nothing, check for paragraph marks with ^p, and vice versa.

Use Replace All carefully

Replace All can affect the entire document, including headers, footers, footnotes, or other document areas depending on the selection and Word version. For a large or important file, save a copy first. Then test with Find Next and Replace on a few matches before applying a global change. Word reports how many replacements it made, which gives you a quick check against what you expected.

  • Check the search scope: If text is selected, Word may search only within that selection. Clear the selection if you mean to search the whole document.
  • Review formatting options: Find and Replace can include formatting criteria as well as text. Clear unintended formatting filters if a search misses matches.
  • Inspect the beginning and end: Replacing paragraph marks can affect document boundaries or leave an unwanted separator at the end.
  • Undo promptly if the result is wrong: Use Ctrl+Z on Windows or Command+Z on Mac, then revise the search and test again.

Common reasons the search does not work

If Word reports no matches, first confirm that the code is typed correctly: paragraph mark is ^p, while manual line break is ^l. The second character in ^l is a lowercase L, not the number one or an uppercase I. Show/Hide can help confirm which kind of break is present.

Also check whether Use wildcards is enabled in the expanded Find and Replace options. Special-character codes behave differently in wildcard searches, and a normal ^p search may not work as expected while wildcard mode is on. Turn wildcards off for a basic paragraph-mark replacement. If you need wildcard matching, consult the relevant Word wildcard syntax rather than mixing it with a standard search code.

Another common issue is entering an actual line break into a search box instead of the code. The Find and Replace fields are designed to interpret special codes such as ^p and ^l; pressing Enter while the field is active may simply run the search or move focus. Use the code, and make sure you are editing the correct field: text in Find what identifies the match, while text in Replace with determines what Word inserts.

FAQ

How do I replace Enter with a space in Word?
Open Home > Replace, put ^p in Find what, and put one space in Replace with. Test a match before selecting Replace All, because the operation joins paragraphs across the document.

How do I replace Shift+Enter in Word?
Search for ^l, the code for a manual line break. Replace it with a space to join the lines, or with ^p to make each line a separate paragraph.

Can I use Find and Replace to insert a new paragraph?
Yes. Find the text or separator that marks where the paragraph should split, then enter ^p in Replace with. Check the surrounding text afterward to make sure the split occurred in the intended places.

Why does ^p not find anything?
The document may use manual line breaks instead of paragraph marks, the search may be limited to selected text, or wildcard searching may be enabled. Show formatting marks, check the scope and options, and try ^l if the mark is a manual line break.

Will replacing paragraph marks change the font or page layout?
The replacement changes document structure, so layout can change: paragraphs may merge, spacing may shift, and lists or headings may be affected. It does not automatically mean the font changes, but inspect styles, numbering, and page breaks after a large replacement.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.