我有一个算术字符串,将类似于以下模式。 a. 1+2+3 b. 2/1*100 c. 1+2+3/3*100 d. (1*2)/(3*4)*100 需要注意的事项是 1.字符串绝不会包含空格。 2.字符串将始终是数字,算术符号(+, - ,*,/)和字符'('和')'的组合 我正在寻找一个PHP正则表达式来分割字符基于它们的类型并形成如下的单个字符串字符的数组。 : 一个(注意,因为我想数字比10
我有代码查找文本目前符合 $data=["as much as I like oranges, I like bananas better",
"there's no rest for the wicked",
"the further I move from my target, the further I get",
"just because I like that song, doe