Open hunainabbasi opened 4 years ago
Get markup
$(element).mentionsInput("val", function (text) { markup = text; // Send this to server side and apply regex to markup });
Regex to get mentions text ~(@)\\[(.*?)\\]\\((.*?):(.*?)\\)~
~(@)\\[(.*?)\\]\\((.*?):(.*?)\\)~
Get markup
$(element).mentionsInput("val", function (text) { markup = text; // Send this to server side and apply regex to markup });
Regex to get mentions text
~(@)\\[(.*?)\\]\\((.*?):(.*?)\\)~