I’m getting the values pretty well from my service on reddit wiki page. So, I have regex for “v=videoID” but I just need to “videoID” when I try to .replace() I just get errors which “.replace is not a function”. My question is can I use Angular2’s ReplacePipe? Or something that works.
So this is the inside of method in my potw.ts
Here is potw.html