我在javascript中有这样的字符串
var str = "This is my test string is Ingrédients";
substring "Ingrédients"也可以作为"Ingredients" 如何"Ingrédients"通过应用正则表达式(Ingr[ée]dients)从上面的字符串中获取子字符串的索引
"Ingrédients"
"Ingredients"
Ingr[ée]dients
javascript regex
javascript ×1
regex ×1