alexgorbatchev/jquery-textext

Tagging some parts of a text

Opened this issue · 0 comments

Hi,

I read the documentation of this useful library. I would ask a question about the exitence of a functionality: given a textarea with some text preloaded, is it possible to "tag a text", a character sequence that meet an expression?

For example, i have this text:
{"name": "name1", "surname":"surname1", "id":1}
I would tag the substring "id":1, then the resulting string will be:
{"name": "name1", "surname":"surname1", TAG}

Thank you for your attention!