i had string like this in javascript
var str = "This is my test string is Ingrédients";
the substring "Ingrédients"
can be also as "Ingredients"
how to get the index of substring "Ingrédients"
from the above string
by applying regular expression ( Ingr[ée]dients
)