RegExOptions.LineEndType
RegExOptions.LineEndType

This option controls how "\n" in a replacement pattern is expanded when the replacement is done. Possible values are:


0undefined line ending (whatever the RegEx engine normally uses)

1default line ending for the server platform; equivalent to 2 on the Mac, 3 on Windows, or 4 on any Unix platform other than the Mac.

2classic Mac line ending, Chr(13)

3Windows line ending, Chr(10)

4Unix/Linux line ending, Chr(10)