📅  最后修改于: 2022-03-11 15:02:59.327000             🧑  作者: Mango
test = 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQAB'
var regex = /.*?base64(.*?)/g;
var match = regex.exec(test);
console.log(match[1]);