I want to replace mentions in comments with an empty string.I am using regular expressions to specify the mentioned users, but the mentions are not being replaced properly in the CRM and Projects features,even though I am using the same code.
Regular expressions don't work properly in my project. Why do you think that is?
comment = comment.replaceAll("zp\\[@.*?\\]zp","");