getImgSrc(rich) { var imgList = []; rich.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/g, (match, capture) => { imgList.push(capture); }); return imgList; }
getImgSrc(rich) { var imgList = []; rich.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/g, (match, capture) => { imgList.push(capture); }); return imgList; }