![]() |
#1
|
|||
|
|||
![]() I have text from the web or Open Office which has a line break at the end of each shortened line. I've read how to remove these. Find & Replace, go to Special and put in line break, which becomes ^l and replace with blank. But the message is always--nothing found. What am I doing wrong? |
#2
|
|||
|
|||
![]()
Are you sure there is a line break character at the end of each line... did you turn on Show All to see the non-printing characters?
Are you in a table... when you click in the text, do you have a couple of contextual tabs on the Ribbon... Layout and Design? |
#3
|
||||
|
||||
![]()
Hi ahazelwood,
The ^l is for manual line breaks. You probably need to use ^p, which is for paragraph breaks. Since you probably don't want to join all the 'real' paragraphs together, or risk having words either side of the unwanted paragraph breaks joined together, try the following sequence of four wildcard Find/Replace operations: Find = ([!^13])([^13])([!^13]) Replace = \1 \3 Find = ([ ])[ ]{1,} Replace = \1 Find = [^13]{2,} Replace = ^p Find = [ ^13] Replace = ^p To do a wildcard Find/Replace, you click on the Find/Replace dialog's 'More' button and choose 'use wildcards'.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
![]()
Thank you very much for your help, but how did you know this? If it was a ^p paragraph break, why couldn't I do it with that? How would regular people know to do this?
|
#5
|
|||
|
|||
![]()
turn on Show All to see the non-printing characters
|
#6
|
||||
|
||||
![]()
Hi ahazelwood,
Quote:
I'm just a 'regular people' too! There are other solutions on the web that achieve the same overall result, but some of them are much more complex.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
judicial85 | Word | 4 | 02-18-2011 04:24 AM |
Macro that will go to line # and center text | marge | Word VBA | 0 | 09-10-2010 12:30 PM |
adding text on a separated column line | ahmet1985 | Word | 0 | 03-27-2010 07:10 AM |
![]() |
P. Alkuin | Word | 2 | 03-15-2010 09:33 AM |
![]() |
ballmoney | Word | 1 | 01-17-2010 02:19 AM |