Filtering to handle multiple strings at once
Filtering to handle multiple strings at once
Scyzor
Posts: 19Questions: 5Answers: 0
Is there a way to filter a column using multiple strings at once separated by early specified separator? Something like:
string1, string2
This discussion has been closed.
Answers
You can use regex searching like this example:
https://datatables.net/examples/api/regex.html
For the Global Search check
Treat as regex
and uncheckUse smart search
. Enter the followingtokyo|london
. If you want to use commas then in the search function you can replace the commas with|
for the regex OR search.Kevin