let myString = "Hello, World!";
let myRegex = /Hello/;
let result = myRegex.test(myString); // result === true