Install vim.
Open text file in vim.
Press semicolon on keyboard ( : )
Type %s/\nSee the result for/\tSee/g
Press Enter.
To save file and quit press semicolon : then wq then Enter. ( :wq )

I believe you are referencing to a new line character, when you are saying "carriage return". \n is the newline character in regular expression and is standard Unix end-of-the-line character.
On Windows-DOS text it is carriage return followed by a new line \r\n.
In that situation the regexp will be %s/\r\nSee the result for/\tSee/g

Reply via email to