Return all rows containing any of the words in a string
Return all rows containing any of the words in a string
maxstralin
Posts: 1Questions: 1Answers: 0
Hi. First of: amazing plugin.
I've "hacked" the search functionality to let the user select tags which then would populate the search box, each tag separated by a space.
I'd like to return all rows containing any of the strings instead of rows containing all the strings, would that be possible?
This discussion has been closed.
Answers
Hi,
You could use a regular expression with its OR operator (
|
) for this. Thesearch()
method lets you do a regex search.Allan