Comment on page
Regular-expressions
matches any Unicode newline sequence; can be modified using verbs
$string = preg_replace('/\R/u', '[,nL]', $string); // Probleme mit Umlauten
$string = preg_replace("/\r|\n/s", '[,nL]', $string);
Last modified 2yr ago