Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2013, 12:49 PM
FieldTechnician FieldTechnician is offline Delete lots of empty space between paragraphs. Windows XP Delete lots of empty space between paragraphs. Office 2007
Novice
Delete lots of empty space between paragraphs.
 
Join Date: Oct 2013
Posts: 1
FieldTechnician is on a distinguished road
Default Delete lots of empty space between paragraphs.

I copied a list of text from putty into word but, there is lots of empty space causing seperation of each paragraph. Is there a way with one single keystroke, to delete empty space on each line instead of holding the delete key for 5 seconds?



Better yet, is there a way to delete empty space on all lines with a command? Here is a sample:

-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/vitel-inbound-0000000e", " NEWDIAL=SIP/202&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/vitel-inbound-0000000e", "ITER2=2") in new stack

Looks like I cannot simulate what word is doing here. the forum is pulling each contents of each line together. The seperation is occuring at the comma point.

00000000000e,.................lotsofspace......... .............."INTER2=2")in new stack

Reply With Quote
  #2  
Old 10-24-2013, 10:58 PM
eNGiNe eNGiNe is offline Delete lots of empty space between paragraphs. Windows 7 32bit Delete lots of empty space between paragraphs. Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

If you're confident, you could use search/replace to replace all occurrences of {space}{space} with just {space}. Repeat until the status message reports "changed 0 occurrences".

Wildcards would probably do it more elegantly, but for some reason I've never got round to investigating them for this particular task.
Reply With Quote
  #3  
Old 10-25-2013, 08:25 AM
Cosmo Cosmo is offline Delete lots of empty space between paragraphs. Windows Vista Delete lots of empty space between paragraphs. Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

The following should work with wildcards, assuming that they are multple spaces, and no other characters-

Find:
Quote:
{2,}
(single space, followed by "{2,}"

Replace:
- edit - the foum won't allow me to quote a single space
(single space)
Reply With Quote
  #4  
Old 10-25-2013, 09:20 AM
Charles Kenyon Charles Kenyon is offline Delete lots of empty space between paragraphs. Windows Vista Delete lots of empty space between paragraphs. Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Any chance you are using fully justified text setting on your page?
If so, chances are that the pasted text has line breaks at the end rather than paragraph breaks. If this is the case, what happens if you select the problem text and left-justify it?
Reply With Quote
  #5  
Old 10-25-2013, 01:14 PM
fumei fumei is offline Delete lots of empty space between paragraphs. Windows 7 64bit Delete lots of empty space between paragraphs. Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Quote:
to delete empty space on each line
Is it possible that these are blank paragraphs, rather than spaces?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fitting Empty Space with Text Box r.m.bemquerer Word 0 11-14-2012 09:54 AM
Delete lots of empty space between paragraphs. Macro to delete rows with all empty cells ubns Excel Programming 2 08-14-2012 02:01 AM
Delete lots of empty space between paragraphs. Is the a way to delete the "empty" paragraphs? Jamal NUMAN Word 3 07-27-2011 04:19 AM
Don't Add Space between paragraphs option Emerogork Outlook 12 07-18-2011 10:01 AM
Space between paragraphs... Emerogork Outlook 2 06-24-2011 10:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:26 AM.


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