i'm trying to select all td elements that are within a time period of 0-3 minutes. The time format is a weird combination of words and numbers.
Right now I am able to select rows that are 0-1 minutes old like this:
$(".some-class td:contains('now')");
What I would like to be able to do is something like this:
$(".some-class td:contains('now' || '1 minute' || '2 minutes')");
But I realize that this does not work. I am aware that there are examples in other question on how to write a loop and executing a jQuery inside the loop, adding each result to a single collection. But I was wondering if there would be a jQuery one liner that would take in multiple values and finding all elements that contains one of those values without looping manually, or without selecting multiple times and concat'ing the results.