Match Numbers and Letters of the Alphabet, Free Regex Course, freeCodeCamp Learn Regular Expressions VIDEO
Today's lesson builds off previous lessons. In previous lessons, we learned how to use the hyphen (-) when grouping sets of characters to avoid typing all characters. For example, we are able to target the letters "a" through "g" by using a hyphen in this manner, "a-g". This helps us avoid having to type in each individual character. In today's lesson, we learn that we are able to also use a hyphen when targetting numbers. This also saves us from having to type out a lot of numbers. By using a hyphen in our regular expression we are able to save time from having to write out all the characters we are matching by allowing us to use a hyphen.
Other Videos By We Will Code 2021-02-08 Understanding Regular Expressions on freeCodeCamp 2021, Match all Numbers Regex Pattern Matching 2021-02-07 Regular Expressions in 2021, freeCodeCamp Regex Match Everything But Letters and Numbers, Coding Vid 2021-02-06 freeCodeCamp 2021 Regular Expressions Match All Letters and Numbers, Master Regex 2021 Coding lesson 2020-02-14 Match Ending String Patterns Using Regexes, Regex Pattern Matching Tutorial, freeCodeCamp Coding Ex 2020-02-13 Match Beginning String Patterns, Regex Tutorials 2020-02-08 Find One or More Criminals in a Hunt, Regular Expression Greedy Match Lesson 2020-02-08 Find Characters with Lazy Matching, Learning about Regular Expressions in 2020, Learn Regex Features 2020-02-03 Match Characters that Occur Zero or More Times, freeCodeCamp's Regex Lessons and Tutorials 2020-01-21 Match Characters that Occur One or More Times,freeCodeCamp Regex Tutorials Javascript, Learn to Code 2020-01-17 Match Single Characters Not Specified, Regular Expression Lesson 2020, freeCodeCamp Tutorial 2020-01-11 Match Numbers and Letters of the Alphabet, Free Regex Course, freeCodeCamp Learn Regular Expressions 2020-01-10 Match Letters of the Alphabet, Regular Expression Patterns, freeCodeCamp Regexes Review 2020-01-08 Match Single Character with Multiple Possibilities, freeCodeCamp Regex Concepts and Challenges 2020-01-07 Match Anything with Wildcard Period, freeCodeCamp's Regex Tutorials 2020, Learn Regular Expressions 2020-01-06 Find More Than the First Match, freeCodeCamp's Regexes Tutor, Regular Expression Help 2020 2020-01-04 Extract Matches Using Regex, freeCodeCamp Regular Expression Help, Learn Regexes 2020-01-03 Ignore Case While Matching, Regular Expressions with JS 2020 Tutorial 2020-01-03 Match a Literal String with Different Possibilities, Learn Regexes on freeCodeCamp, Understanding JS 2020-01-02 Match Literal Strings, Learn Regular Expressions on freeCodeCamp 2020, Learn JS for Beginners 2020 2019-12-31 Regular Expressions, Using the Test Method, freeCodeCamp's Learn Regex Challenges, 2020 Learn Regex 2019-12-31 Introduction to the Regular Expression Challenges, A Regex Tutorial for Beginners, Learn Regex 2020
Tags: js character classes
regex character classes
regular expressions js
js regular expressions