I have a query Regarding : How to Use Regular Expression to precede any Special Character with “\” eg “(“ with ”\(“. I need to search name using solr, because solr is not accepting special character I need to append “\” before every special character Like + - && || ! ( ) { } [ ] ^ " ~ * ? : / . I am using Evaluate Regular Expression assertion.
Eg. Akash (Raj) to Akash\\(Raj\) and
\(1\+1\)\:2