使用正则表达式,我似乎无法使以下工作。在单词“ Inst ”或“ Ins titution ”之前但后面没有作为同一单词一部分的单词组的任何字符集。例如,我不想匹配“ m_InstitutionGroup ”,但我确实想要“ m_Institution blah blah Group ”
其他示例:
Inst - include
inst - include
institution - include
rtertInstitutionsdfdf – include
345_rtertInstitutionssdf45d454fdf – include
InstXXX555_group - exclude
Institution456eretGroup - exclude
我努力了:
inst(itution)(?!(Group))