I tried to use JEXL to evaluate the syntax but not getting through. Want your help guys to get it executed.
I want to evaluate dynamic replace statement (.replace("\u00A0","")) coming through ajax.
In Java -
removeSpecialChars = ".replace("\u00A0","");
text.replaceAll("\\p{Cntrl}", "");
text = text + removeSpecialChars;
How can we evaluate the text statement using JEXL.