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

Last updated