search-value - This is required. This can be string of a regular expression which need to be search. new-value - This is required parameter. This is the new string which will replace the old or ...
String.replace method in javascript does not replace every occurrence of the string, it only replaces the first occurrence. To replace all occurrences of the string you must provide the replace() ...
Caused by: org.mozilla.javascript.EvaluatorException: The choice of Java method java.lang.String.replace matching JavaScript argument types (function,string) is ...