I am trying to detect Hyperlinks in RTB in rtb_chage event. That gets trigerred whenever we type single letter. This becomes problematic when the text is large. The time taken for the typed letter appearing in the screen, is more delayed as the size becomes larger.
The logic I use is,
1. In the rtb_change event get all the text from rtb
2. search in the text for http.
3. if found add the color and underline.
The first two steps are done for every letter I type. This is good if I just paste some data from outside but does not look good for typing.
Any suggestion?better logic? any good function?