Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Example:

I want to remove the
space
I want to remove the
space
I want to remove the 
space

How can I remove the word SPACE so that the three sentences will be a complete thought. Is there a command to do it in just one click?

Or

I have to do it manually?

Here's another example:

ColorFuse Powercore, Narrow Beam
Angle
ColorFuse Powercore, Medium Beam
Angle
Special ColorFuse Powercore, 2700K,
Narrow Beam Angle

I hope there's someone here knows the answer.

share|improve this question
    
Do you want to remove the word 'space' or the space between 'the' and 'space', as your second example suggests? Please show how your output should look after replacement. –  DaveP Aug 15 '12 at 8:19
add comment

2 Answers

In NotePad++:

  1. Open the Replace dialog from the Search->Replace... menu (or Ctrl+H)
  2. Set the 'Search Mode' to 'Extended'
  3. Set 'Find what' to \r\nspace\r\n
  4. Set 'Replace with' to a single space character (or your desired separator)
  5. Click 'Replace All' button.
share|improve this answer
add comment

i start to use SublimeText and my life is changed))
You can use in it multiple selection it very easy and very usefull for day to day tasks.

What about your case, snowdude give you very easy way how to do it, also u can replace it with regexp which you can find in search.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.