摘要: $str = "The quick brown fox jumped over the lazy dog."; $str = preg_replace('/\s/','-',$str); echo $str;更详细的请看原著摘抄自http://www.5idev.com/p-php_preg_rep 阅读全文
posted @ 2017-10-22 17:11 西瓜霜 阅读(589) 评论(0) 推荐(0) 编辑