I am trying to find if an image has in its source name noPic which can be in upper or lower case.
noPic
var noPic = largeSrc.indexOf(\"nopic\");