Regular-expressions
Used Expressions
New Line
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);
Tools
Links
Last updated
Was this helpful?