Quote:
Originally Posted by bear4hunter
Thanks a lot, I'll take a look at TextPad this weekend, if I find the time 
|
If you are not afraid, do try [G]Vim text editor.
http://www.vim.org/
Vim has an excellent documentation. It has two parts - user manual and reference manual. The user manual was actually written by a very good professional author of technical books.
Quote:
Originally Posted by bear4hunter
Code:
\r\n finds line breaks
|
Yes, it does (for files with DOS type end-of line, see
http://en.wikipedia.org/wiki/End-of-line ), but not in Regular Expression mode, only in Enhanced mode.
I tried all combination of
\r\n
\n\r
\r
\n
You might try $
OpenOffice.org writer uses $ as a metacharacter for end of line and \n for manual pagebreak. Strange.
EVERY SINGLE implementation of Regular Expressions I have seen has some strange incompatibility with all the other versions.
Some programs even provide several syntaxes you can use (TextPad has two, Vim four (very magic, magic, nonmagic and very nonmagic) I am not kidding ;-) have a look :
http://vimdoc.sourceforge.net/htmldo...rn.html#/magic )
I strongly recommend book Mastering Regular Expressions
http://oreilly.com/catalog/9780596528126/