public static function normalizeBreaks($text, $breaktype = "\r\n") { return preg_replace('/(\\r\\n|\\r|\\n)/ms', $breaktype, $text); }