Adding new lines

Soldato
Joined
2 Jun 2007
Posts
6,839
Location
Mornington Crescent
I've got a load of text documents I need to edit, basically transcripts of a dictation. But its all as one big lump of text. It has the individual speakers named, but no new lines for each new person. So I'm currently going through, manually adding the new lines. I'd like to use Writer's 'replace' feature, but that only seems to be able to edit text, not add a new line in front of it. So, is there any way to get this done, or so I just keep at it?

Yes, I know something like this may cause problems as they mention each others names so it will add a new line there as well, but I'll be reading them anyway.

Thanks!
 
If the document is in basic .txt format then you will need to find a proper editor. Vi could do this in a flash ".,$s/name/^m^lname/g" and you can get windows versions. But if you haven't used vi before then look for something like ultraedit or any app that supports a decent search and replace function.
 
Yeah, its just a .txt file. And I would prefer a free program to do it if possible.

Unfortunately, I've not heard of Vi, and don't have any coding experience, so can't pull something together myself. Thanks, though.
 
Back
Top Bottom