Regex Learning
Regex Learning
console.log(quoteSample.match(vowelRegex));
console.log(quoteSample.match(bgRegex));
// Mach whitespace
let sample = "Whitespace is important in separating words";
let countWhiteSpace = /\s/g;
result = sample.match(countWhiteSpace);
console.log(result);
-4-