Search string with Parenthesis and match exact word
Search string with Parenthesis and match exact word

Hi All,
Does anyone know how can I search string with Parenthesis in it and I will need to get the exact match for example if I search for Location A, only results that match exactly will be shown, results containing 'Location' should not be shown.
Thanks.
Here is my current solution: column.search("^(" + val + ")$", true, false).draw();
This discussion has been closed.
Answers
Hi @Wincci ,
That looks OK. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin