我希望查找子字符串的实例—以空格 ' 开头的[^,] which
单词,该单词的开头不是逗号。可以做到吗?which
[^,]
查询[,] which
工作正常,但否定破坏了正则表达式。MS Word 中是否有特殊语法,或者在“查找/替换”对话框中是否不可用?
当我尝试此查询时,我收到警告对话框,^ is not a valid special character for the Find What box or is not supported when the Use Wildcards check box is selected
答案1
使用[!,]
; 来自本文:
t[!am]ck 可查找“tock”和“tuck”,但不能查找“tack”或“tick”。