正则表达式—Vue截取字符串中截取img标签的src图片地址
const text = <img src="xxx.xxx.xxx...; const RegEx = /(?<=(img src="))[^"]*?(?=")/gims; this.pictureUrlList = text.match(RegEx);
const text = <img src="xxx.xxx.xxx...; const RegEx = /(?<=(img src="))[^"]*?(?=")/gims; this.pictureUrlList = text.match(RegEx);