We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa3166d commit ac8e421Copy full SHA for ac8e421
Regular-Expressions/Match-All-Numbers/script.js
@@ -0,0 +1,3 @@
1
+let movieName = "2001: A Space Odyssey";
2
+let numRegex = /\d/g;
3
+let result = movieName.match(numRegex).length;
0 commit comments