I need to check multiple regexp in one string. Is it possible to check in one regexp? Here is important to find any order of words.
For example I looking for "quick", "jump" "lazy" in the string.
I can check it with OR
operator. It working with |
(pipe) character. But how can I change the OR
to AND
?
I can use this with OR
:
/quick|jump|lazy/
But I want to use something like this:
/quick&jump&lazy/
Is there any way?