Results 1 to 10 of 10
  1. #1
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hard return (2003)

    Hi all,

    As you can see from the attachment, I have a document with a hard return after each line. I need to get rid of each one so that the sentences wrap around naturally.

    Do I have to go through teh entire 96 page document and do it manually, or can all hard returns be removed at once?

    Sincerely,

    JMT
    Attached Files Attached Files

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Hard return (2003)

    That sample is a little unfortunate since the real paragraph breaks are indistiguishable from the ones you need to remove. The closest I can get on that file is to do a search and replace with Wildcards with the following settings...
    Find: ^13([a-z])
    Replace: {space}1
    where the space is an actual character made by a single press of the spacebar.

    This will fix the majority of the paragraphs based on the premise that any paragraph that starts with a lowercase character is probably a continuation of the previous paragraph.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  3. #3
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Hard return (2003)

    Thanks for that great reply, but for the "find," do I literally put in "^13([a-z])"? The "find" is saying that no items were found . . .

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Hard return (2003)

    Make sure to expand the dialog with the More button and check the box next to "Use wildcards."

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Hard return (2003)

    You can use Format | AutoFormat. It does a reasonable job, but you'd still have to check the entire document for sentences that were missed or treated incorrectly.

  6. #6
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Hard return (2003)

    Thanks for these responses, which helped, but what does format/autoformat do? I tried that but it didn't do anything.

    Also, is there a similar way to get rid of the all of these soft returns in the attached document (I don't know if they are really called soft returns, but they look like little arrows when you press "show/hide formatting") and replace them with hard returns?

    Sincerely,

    JMT
    Attached Files Attached Files

  7. #7
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Hard return (2003)

    I don't think you'd want to replace each soft return with a paragraph mark, but pairs of them. This can be done by selecting Edit | Replace, entering <code>^l^l</code> (hat lowercase L hat lowercase L) in the Find what box and <code>^p</code> (hat p) in the Replace with box, then clicking Replace All.

  8. #8
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Hard return (2003)

    If I position the insertion point at the beginning of the doc from the first post, then select Format | AutoFormat and click OK, I get the attached result.
    Attached Files Attached Files

  9. #9
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Hard return (2003)

    Wow! Autoformat is great! Let me try one more: what if I were to take the attached document, and wanted to get rid of all those little circles that are in the beginning of each section (you have ot turn on show/hide formatting)? What are those circles? If I go into Find&Replace, what is the code I put in for those circles so that it catches only those and not normal spaces?

    Sincerely,

    JMT
    Attached Files Attached Files

  10. #10
    4 Star Lounger
    Join Date
    Dec 2003
    Location
    Zoetermeer, Zuid-Holland, Netherlands
    Posts
    559
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Hard return (2003)

    Those circles are "no-break" spaces. If you put one between two words, Word treats the combination like one word and won't put the first word on the end of a line and the second on the next line. I use it a lot to prevent a break in a first name - second name combination. The code for this is ^s (hat s).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •