Qamp;A;Questions and answers;Your technical problems tackled

12th November 1999 at 00:00
I have been sent a long text file I need to edit. However, whenever I change the text I get short lines at various points. How can I avoid this? - M Thomas, Churchdown.. It sounds as if the author of the text has pressed Return at the end of every line. To remove all the unwanted Return characters without affecting the real paragraph ends you need to replace the Return character with spaces.

To do this you need to mark the true paragraph ends with a temporary symbol, erase all unwanted Return characters, then replace the temporary symbols with Return characters. Choose Edit, Replace. In Find What type p p (used by Word to represent Return). In Replace With type % (or any character not in the document). Click Replace All. Now change Find What to p and Replace With to a single space character. Choose Replace All again. This will remove all unwanted RETURN characters. Finally, in Find What type % (or whatever you chose to mark the paragraph ends) and p p in Replace With. Now, when you click Replace All the proper paragraph ends will reappear.

Log-in as an existing print or digital subscriber

Forgotten your subscriber ID?


To access this content and the full TES archive, subscribe now.

View subscriber offers


Get TES online and delivered to your door – for less than the price of a coffee

Save 33% off the cover price with this great subscription offer. Every copy delivered to your door by first-class post, plus full access to TES online and the TES app for just £1.90 per week.
Subscribers also enjoy a range of fantastic offers and benefits worth over £270:

  • Discounts off TES Institute courses
  • Access over 200,000 articles in the TES online archive
  • Free Tastecard membership worth £79.99
  • Discounts with Zipcar,, Virgin Wines and other partners
Order your low-cost subscription today