現在有如下輸入字符串'you and "i and you or test" test' and test 'you and me'我現在希望能夠分割得到的結果是'you and "i and you or test" test'andtest'you and me'即單引號內的內容視為一個整體,不在單引號內的內容按單詞分割不知道這樣的要求正則表達式能否實現還是需要程序處理嗎?
添加回答
舉報
0/150
提交
取消