removing ALL section breaks in Word Doc in one operation?


  1. Posts : 1,769
    Windows 10 Pro
       #1

    removing ALL section breaks in Word Doc in one operation?


    I have some Word docs that have literally hundreds of section breaks. These docs were generated by a documentation program specific to an application. Some "sections" are only a few lines of text, and I want to replace the section breaks by say 2 blank lines. How can I do this in one operation, not one at a time.
      My Computers


  2. Posts : 16,926
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #2

    In the Replace dialog, More set Use wildcards to on
    then
    Find what
    Code:
    ^m
    Replace with
    Code:
    ^p^p
    to insert two blank lines
    then click on Replace all.


    Denis
      My Computer


  3. Posts : 1,769
    Windows 10 Pro
    Thread Starter
       #3

    Try3 said:
    In the Replace dialog, More set Use wildcards to on
    then
    Find what
    Code:
    ^m
    Replace with
    Code:
    ^p^p
    to insert two blank lines
    then click on Replace all.


    Denis
    Awesome. Did 1308 replacements. Doc went from 1291 pages down to ... 20. [CORRECTION: 168]

    Don't know why I didn't check out that replacement window myself, but sometimes I just want to get something done fast and easy.
    Last edited by x509; 23 Mar 2023 at 19:05.
      My Computers


  4. Posts : 16,926
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #4

    I imagine that this info is online as well but I've attached my Help extract for Find & replace to save you looking. The really interesting bits are on the last two pages
    Find and replace text or other items.pdf
    The Help extract is for Word 2007 but Find-Replace hasn't really changed since then.

    All the best,
    Denis
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:58.
Find Us




Windows 10 Forums