I have tested \\v (vertical white space) for matching \\r\\n and their combinations, but I found out that \\v does not match \\r
\\v
\\r\\n
\\r
To match a newline in PHP, use the php constant PHP_EOL. This is crossplatform.
PHP_EOL
if (preg_match('/\v+' . PHP_EOL ."/", $text, $matches )) print_R($matches );