-
How to detect hashtag and @ with Expressions
Hi,
I was wondering if it’s possible to detect a hashtag or @ and automatically change the color?I’m a javascript developer and I found a way to detect hashtag and @ but I don’t know how to change the color then…
Thank you,
Jeremystring = value;
string.replace(/(^|\s)(#[a-z\d-]+)/ig, "$1$2 ")
