Is it possible to have a jQuery selector where the :contains() is a regular expression?
I need to select an element where the innerHTML contains something findable through regex?
I know it's a short question. My apologies.
var t = $("#id a:containsRegex("/[0-9]/g")"); // Doesn't work
.filter()
– zerkms Apr 8 '14 at 7:05