I am getting SyntaxError: trailing \ in regular expression in the below line, when i gave
the input like "xyz\" to the text-box.
var re = new RegExp(searchfield.getRawValue(), "ig")
I have added this line to make input as case insensitive.
Can somebody tell me how to handle this?
Note: I am not familiar about regular expression.