我有一个带有单词的字符串,to如何to仅在括号外匹配该单词
to
(a turn; a task (a turn of work); to turn; Tongan cause Tongan turn) to
到目前为止,我已经尝试过这个正则表达式,不幸的是它没有用:
?<!\()\bto\b(?![\w\s]*[\)])
海绵宝宝撒
相关分类