Hi all,
can any one pls tell me how to find @ and # handler in a given HTML content using typescript
ex:
the above content is created by @abc
in above HTML content i have used @ symbol ,i need to check @ and # symbole is available or not
the above content is created by @abc
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 15, 2020, 11:52 PM EDT
https://api.jquery.com/contains-selector/
Please check this link for :contains selector you can check your string this way
$( "p:contains('@')" ) with if condition
Harshal LimayeRank #485 · 5.1K reputationPosted Jan 20, 2021, 4:02 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Jan 20, 2021, 5:17 AM EST