Hello,
My macro should run on files of every system (and hence different line terminators). Because of that reason I turned "automatic conversion to DOS" in UEs options on, but that leads to a crash when opening the file by "Open"-Command (see my previous post)
works well on DOS-Files only (\p is the DOS-terminator).
So I tried using $ instead of \p, but the problem ist that the line-terminator itself is not replaced like with \p. That leads to "empty lines" instead of a total replace of the line.
What is the best solution of replacing the line-terminator too (for MAC, UNIX and DOS systems with the same macro)?
My macro should run on files of every system (and hence different line terminators). Because of that reason I turned "automatic conversion to DOS" in UEs options on, but that leads to a crash when opening the file by "Open"-Command (see my previous post)
Code: Select all
Find MatchCase RegExp "^the matching text\p"
Replace All ""
So I tried using $ instead of \p, but the problem ist that the line-terminator itself is not replaced like with \p. That leads to "empty lines" instead of a total replace of the line.
What is the best solution of replacing the line-terminator too (for MAC, UNIX and DOS systems with the same macro)?