Tell us what’s happening:
Please can you help me I can do that:
Your regex should search for “Cal” with a capital letter.
Your code so far
let rickyAndCal = "Cal and Ricky both like racing."; let calRegex = /and Ricky both like racing/; // Change this line= let result = calRegex.test(rickyAndCal);
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.