Change regex
Change regex
dfigueira
Posts: 15Questions: 3Answers: 0
Hi guy's,
I'm working on something complex and I would like to know something. Can I change the regex from the search to accept "OR" parameters?
Thank you
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Take a look at the Search API example. In the Age column, for example, enable regex and disable smart search. Type
47|66
. Is this what you are looking for?Kevin
I am using that, but can that string be changed to other type of regex's?
I don't really understand your question I'm afraid. If you wanted a different type of regex, you'd just type the different regex. But I think I'm missing something!
Allan
That's the answer then.. The string on the search will determine the kind of regex I am using on it correct?
Yes. If you have told DataTables to expect a regex input, then yes, it will expect a regex string input .
Allan
Thanks allan! Helpfull as always!