Regex search and | character
Regex search and | character
trongart
Posts: 222Questions: 51Answers: 0
In this example, I have regex search and I use the |
character to search for multiple items:
For example airi|ashton
returns results for both airi and ahston.
How can I change this to the comma character ,
instead of |
so I could enter airi,ashton
into search and get results for both?
This question has an accepted answers - jump to answer
Answers
There is no option in regex to change the character operations. And DataTables attempt to do a translation between one form and another.
If you wanted to, you could get the value from a custom
input
and then convert it into regex, and apply that to DataTables usingsearch()
.Allan