<?php $str = "( 小黄蜂250 OR 小黄峰 OR 幻影150 ) "; var_dump($str = preg_replace('/\(\s?(^\s.*^\s)\s?\)/', '($1)', $str));
You have javascript disabled. You will not be able to edit any code.