var string = "alura";
var cadena = "Alura";
for (var i = 0; i<string.length;i++) {
var buscar = string[i];
var expresion = new RegExp(this.cadena,"i");
if(expresion.exec(string)){
console.log("hay similitud");
}else{
console.log("no hay similitud")
}
}