RegExOptions.LineEndType Property

Syntax

LineEndType as Integer


This is in effect for the current Regular Expression "session".
Has no effect on SearchPatterns if TreatTargetAsOneLine is True.
Changes the way \n is expanded for ReplacementPatterns
0 = any line ending (Windows, Macintosh, or Unix)
1 = default for platform (if running on Macintosh, the same as 2) (if running on Windows, the same as 3, if running on Linux, the same as 4)
2 = Mac ASCII 13 or \r
3 = Win32 ASCII 10 or \n
4 = Unix ASCII 10 or \n
Default is 0.