1
3
你可以用这个正则表达式拆分
输出
你可以检查一下 ideone demo 正则表达式详细信息:
正则表达式将匹配两件事
你可以检查 regex demo here |
2
0
您可以不使用regex:
或(使用regex)
|