2017-01-26 178 views

回答

6

阵列使用正则表达式。在1个或更多字符+a-z分裂A-Z

$arr = preg_split('/[a-zA-Z]+/', $str); 

在字符类添加任何你想要的0-9的数字或'的撇号等这样[] ...

相关问题