scrimba
Learn Regex
Match Everything But Letters and Numbers
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Match Everything But Letters and Numbers
AboutCommentsNotes
Match Everything But Letters and Numbers
Expand for more info
index.js
run
preview
console
let quoteSample = "The five boxing wizards jump quickly.";
let nonAlphabetRegex = /\w/; // Change this line
let result = quoteSample.match(nonAlphabetRegex).length;
console.log(result);
Console
index.html
-0:44