Regular Expressions 101

Community Patterns

New line characters on Windows, Linux and OSX

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<text>.*)(?<newline>[\r\n]+)
/
gm

Description

New line characters on Windows, Linux and OSX

Submitted by anonymous - 2 years ago