我無法弄清楚如何用正則表達式來做到這一點。我想在句子中的一定數量的字符後匹配句號。 this is a long sentence. it contains a few full stops in it. I want to match the full stop after the halfway point.
this sentence is shorter. it also contai
我有一個算術字符串,將類似於以下模式。 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 = "<br />
Q.156) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Depar