Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2011, 07:08 AM
ahazelwood ahazelwood is offline Line breaks at each line in Web text Windows 7 32bit Line breaks at each line in Web text Office 2010 32bit
Novice
Line breaks at each line in Web text
 
Join Date: Jan 2011
Posts: 2
ahazelwood is on a distinguished road
Default Line breaks at each line in Web text


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?
Reply With Quote
  #2  
Old 01-05-2011, 10:53 AM
Kimberly Kimberly is offline Line breaks at each line in Web text Windows 7 Line breaks at each line in Web text Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

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?
Reply With Quote
  #3  
Old 01-05-2011, 01:15 PM
macropod's Avatar
macropod macropod is offline Line breaks at each line in Web text Windows 7 32bit Line breaks at each line in Web text Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,212
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

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]
Reply With Quote
  #4  
Old 01-06-2011, 07:58 AM
ahazelwood ahazelwood is offline Line breaks at each line in Web text Windows 7 32bit Line breaks at each line in Web text Office 2010 32bit
Novice
Line breaks at each line in Web text
 
Join Date: Jan 2011
Posts: 2
ahazelwood is on a distinguished road
Default Thank you, Paul, this worked

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?
Reply With Quote
  #5  
Old 01-06-2011, 08:57 AM
Kimberly Kimberly is offline Line breaks at each line in Web text Windows 7 Line breaks at each line in Web text Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

Quote:
Originally Posted by ahazelwood View Post
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?
turn on Show All to see the non-printing characters
Reply With Quote
  #6  
Old 01-06-2011, 02:37 PM
macropod's Avatar
macropod macropod is offline Line breaks at each line in Web text Windows 7 32bit Line breaks at each line in Web text Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,212
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Hi ahazelwood,
Quote:
Originally Posted by ahazelwood View Post
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?
You could have used the ^p approach, but the solution I posted takes care of web pages where the ^p approach would leave you with words from different lines runtogether and all the logical paragraphs joined together.

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]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Line breaks at each line in Web text One line of text - two formats? 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
Line breaks at each line in Web text Unwanted line breaks P. Alkuin Word 2 03-15-2010 09:33 AM
Line breaks at each line in Web text Add text to the beginning/ending of each line in word ballmoney Word 1 01-17-2010 02:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft