Trying to only display exact matches to the search term entered in the search bar.
For instance, I have a search bar that filters by ID#. I want only records that match the exact # entered to display.
So if 123
is entered, I don't want 12345
, 91239
, etc etc to be displayed. Only 123
.
Saw some info about bRegex
on the FAQ page, but it's not working for me. Any ideas?
This will give you exact result for a column.
ie . search( input , regex, smart , caseInsen )
If you want the exact match from the beginning you can try this code,