remove mime type from base64 javascript code example
Example: remove mime type from base64 javascript
var strImage = strToReplace.replace(/^data:image\/[a-z]+;base64,/, "");
var strImage = strToReplace.replace(/^data:image\/[a-z]+;base64,/, "");