Hapus tipe pantomim dari base64 javascript

var strImage = strToReplace.replace(/^data:image\/[a-z]+;base64,/, "");
Arrogant Angelfish