【发布时间】:2022-07-07 23:27:36
【问题描述】:
我有以下字符串
... of 7th July 2019 , signed by the District Director of the National Service of ENCAC.
我想找到
the National Service of ENCAC
我有这个正则表达式可以从 "signed by" 中搜索,但我希望它从 "signed by" 后面的第一个 "of" 中搜索
(?<=signed by)(.*)(?=\.)
非常感谢您的帮助。
【问题讨论】:
标签: regex