i need to replace some data obtained from match();
This one return string that contain "Total time: 9 minutes 24 seconds"
data.match(/Total time: [0-9]* minutes [0-9]* seconds/);
but i need only "9 minutes 24 seconds", I try use:
data.match(/Total time: [0-9]* minutes [0-9]* seconds/).replace("Total time:", "");
but there is an error ""
".replace is not a function"
Can some one help me?