let str = "江苏省苏州市南郊东路128号", str1 = "北京市市辖区北京东路128号"; let result = str1.match(/[\u4e00-\u9fa5]+[省]|?<[\u4e00-\u9fa5]+[市]/g); console.log(result);