Question :
var str = "I have a <animal>, a <flower>, and a <car>.";
now the above string I want to replace below with Tiger, Rose and BMW
<animal> , <flower> and <car>
Please suggest the best approach for this.
I am working on Angular 2 Application with Typescript.