Is there a way to detect a removed character from a text using ngModel
in Angular 2?
I am looking for something like:
Original text: @Hello World !
Modified text: Hello World !
Console.log
Removed character: '@'
I came across an interesting example in Javascript using Jquery by Arie Xiao at the link below:
However, I am curious if there is an alternative to using Jquery as I have found it challenging to implement in Angular 2.