Usuń prefiks JS

str.replace(/^myPrefix/,"");
NeuroticVegan