Hi I\'m using datatables and I would like to filter my data by an exact word.
My table data looks like below;
+-----+----------+ | num | status | +
Hope this could help. Adding '\\b' at both end will let the table search for whole word only.
'\\b'
var regex = '\\b' + searchKey + '\\b'; .columns().search( regex, true, false).draw();