Quote:
Originally Posted by frabjous
Any decent text editor? Vim? Emacs? Textmate? Notepad++? They're all free.
You could use any scripting language with regex capabilities: perl, python, sed, awk, lua, etc., probably with a one-liner.
For a text file:
Code:
perl -pe 's/([^\.])\n\n/\1 /g' filename > new-filename
would replace every double line-break following anything but a full-stop with a single space, if I'm not mistaken.
I can't stand Windows. I can't stand Word. So I'm afraid I can't help you do it there.
|
I have to use WIndows and Word and am not allowed to intall any programs, so I am stuck. Such a pity I don't know how to convert your code snippet to a Word Equiv. Looks good. I need to find a detailed help file on what expressions I can use in Word. I will start with the built in one but don'tr hold out too much hope.