Skip to content

Commit 91b1e59

Browse files
Completed Task
1 parent 9919d8a commit 91b1e59

File tree

1 file changed

+3
-0
lines changed
  • Regular-Expressions/Match Everything-But-Letters-and-Numbers

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
let quoteSample = "The five boxing wizards jump quickly.";
2+
let nonAlphabetRegex = /\W/g;
3+
let result = quoteSample.match(nonAlphabetRegex).length;

0 commit comments

Comments
 (0)