我想用一个Newline字符替换多个Newline字符,用一个空格替换多个空格并将Insert In替换为数据库.
到目前为止,我试过这个
preg_replace("/\n\n+/", "\n", $text);并没有用!
我也在$ text上进行格式化.
$text = wordwrap($text,120, '<br/>', true);
$text = nl2br($text);
Run Code Online (Sandbox Code Playgroud) 我想通过我的网站为每个html页面应用单一字体.到目前为止我试过这个:
* { font-family:Nyala; }
Run Code Online (Sandbox Code Playgroud)
但这只适用于一页.