Fletcher – this did get asked once before.
Here you go: Regular Expression to match cross platform newline characters
- Spoiler Alert!
The regex I use when I want to be
precise is “\r\n?|\n”.
Fletcher – this did get asked once before.
Here you go: Regular Expression to match cross platform newline characters
The regex I use when I want to be
precise is “\r\n?|\n”.