0
我需要一般说明来搜索文本中的任何非字母字符之前和之后的句子或单个单词.. 我会给几个例子来说明我需要什么:C#正则表达式,可能包含任何非字母字符的句子
搜索“好运气”:
good luck in the exam.. (should match the pattern)
hello! good luck in the exam.. (should match)
mm,good luck! .. (should match)
hello again i wish yougood luckin the exam. (**should Not match**)
我指的是正则表达式应该匹配的句子时,它不与字母字符包围。