const string = "https://dmzlgw-bhdcdev.test.att.com"; const substring = "att.com"; console.log(string.includes(substring));