JavaScript String Match ()
let text = "The rain in SPAIN stays mainly in the plain";
text.match(/ain/g);
naly moslih
let text = "The rain in SPAIN stays mainly in the plain";
text.match(/ain/g);
str.includes(searchString[, position])
//Returns 'true' if found otherwise return 'false'