Regular does not match the restriction characters before and after, only match the ones to be matched
([^ ]+)(?=[\s]*测试)
This is the matched result and only contains
([^ ]+)
Content, the same goes forward
Regular does not match the restriction characters before and after, only match the ones to be matched
([^ ]+)(?=[\s]*测试)
This is the matched result and only contains
([^ ]+)
Content, the same goes forward