escape search string from regular expression specific characters

If search string contains regular expression specific characters , it will fail to highlight.
Escape those characters