The match() method will return the resulting match of the string value from the regular expression pattern. Depending on if the g flag is used, which is the global flag the results will be returned ...
Welcome to the Match Game SkillBuilder! Your task is to code out the game's functionality by completing the functions we've outlined below. We've left you plenty of comments as well as a suite of ...
const str = 'A1aB2bC3cD4d'; const re = /([A-Z])[0-9]([a-z])/; str.match(re); // ['A1a', 'A', 'a'] str.match(re); // ['A1a', 'A', 'a'] const str = 'A1aB2bC3cD4d ...