Turn a multi line file into a single line file
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Turn a multi line file into a single line file
I have a 2000+ line file that needs to be one line long. How can I remove all the CRLFs at the end of each line?
I figured it out...
Based on the following post:
http://forums.textpad.com/viewtopic.php ... light=crlf
Configure | P references | Editor
[X] Use POSIX regular expression syntax
Find what: (.)\n(.)
Replace with: blank
[X] Regular expression
Replace All
http://forums.textpad.com/viewtopic.php ... light=crlf
Configure | P references | Editor
[X] Use POSIX regular expression syntax
Find what: (.)\n(.)
Replace with: blank
[X] Regular expression
Replace All
Re: I figured it out...
Why do you want to remove the last character of each line, and the first character from all lines except the first?agent86 wrote: Find what: (.)\n(.)
Replace with: blank
I'd say
find \n+ and replace with blank.
current textpad versions do not have this options anymore, it is no longer necessary as the regex machine has been replaced by a newer one ...agent86 wrote: Configure | P references | Editor
[X] Use POSIX regular expression syntax