fnFilter with regex
fnFilter with regex
Im trying to use the fnFilter() function with a regex on a column. Basically im trying to say to filter the data that is NOT equal to 'foo' , but it is getting rid of the empty cells, so i need to somehow add in there where its not foo and not empty..
fnFilter("[^foo]",4,false);
I cant seem to make it also add in the space or empty cells
i tried ([^foo])([^\s])
Any help with the regex is greatly appreciated.
Thanks!
fnFilter("[^foo]",4,false);
I cant seem to make it also add in the space or empty cells
i tried ([^foo])([^\s])
Any help with the regex is greatly appreciated.
Thanks!
This discussion has been closed.
Replies
^((?!foo).)*$
Where abouts is this the foo parameter?