// search(): method is used to search the regular expression in the given string. This method returns -1, if match is not found.
// String.search("ch/srt");
let srt="A necessary sacrifice to bring peace to this planet. We can not let the humans pay for our mistakes.";
console.log(srt.search("planet"));
console.log(srt.search("Cybertron"));