I can currently using:
$results.find('a[href$=".doc"]')
to find anything ending with .doc for editing reasons. However, this seems to be case sensitive, i.e. if a document ends with .DOC or .Doc, it will not find those. Is it possible to make this non case sensitive?
You have to create a function to match case insensitively.
It is also possible to enumerate all 8 cases in the selector, but this won’t scale easily.