One or more character. Escape Special characters.Based on above example, we will validate regular expression with different string patterns. Thanks for your quick reply.But i need to escape all the special characters of regular expression.I have try by this code,But i cant achieve the result. RegExp.escapefunction(str) . if (!arguments.callee.