I would like to create an angular pipe that filters a string by substring and if the substring occurs, it returns a new filtered string.
The difficulty for me here is tha