I have a search box. I need to remove all the special characters from the search term and then query it. “’-,?~!@#$%&*+-= all these characters.... can anybody suggest a proper regular expression for this ? and the syntax for using it in javascript.
my query is saved in var query;
Jayakrishnan_gk 0 Newbie Poster
Graphix 68 ---
Jayakrishnan_gk 0 Newbie Poster
d5e5 109 Master Poster
Jayakrishnan_gk 0 Newbie Poster
d5e5 109 Master Poster
d5e5 109 Master Poster
Jayakrishnan_gk 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.