Forum Moderators: phranque
If you have a copy of MS Excel, you may want to try importing your TXT files into a single spreadsheet... (with 1 line from your text file being imported as 1 row in your spreadsheet). For example, if your 100 text files have 5 lines each, your spreadsheet would have 500 rows.
Then, add a new column and fill each row of that column with the <br> tag. (Use the Fill > Down feature to do this)
Finally, export this spreadsheet as Text file and you're done.
It will take some time, but not nearly the amount of time it would take to open each TXT, add the <br> tag, and save it.
Then hit Ctrl + H and in replace type <br />
[edited by: phranque at 10:41 pm (utc) on Nov. 29, 2009]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]
Thanks, but how do you search for carriage returns?
This is a cheesy way to do it, but it works.
Get a document open, create a line return.
text
text too
select the VOID between the two lines, it should look something like this, with the pipes being the "selection." Insert your cursor just before the word "text too", as in here -> "¦text too", and drag upward to the blank line.
text
¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
text too
CTRL-C. Open your find tool, CTRL-V.
You will have to experiment with it to make sure you're selecting the right thing before cutting it loose on thousands of docs, but it works.