其他地方可能也会出现分号\s*AlarmText:\s*([\s\S]*;;)应该在最后用2个分号作为判断点我写的 工具匹配成功 但是后面必须是Specialty:AlarmText:((?!Specialty:)[\s\S])*
"AlarmText.*?(?=Specialty)"