Lesson

Regular Expressions 2021 freeCodeCamp, Match Whitespace

Lesson Summary

In this regex lesson, we take a look at a new shorthand character class that allows us to search for any whitespace. We are able to do this using \s. Using \s is the same as the character class [\r\t\f\n\v] We are able to shorthand this character class simply using \s. Learning different character classes and understanding their utility allows us to combine multiple character classes and build useful regular expressions. Buy a Cool Super Hero Sticker for yourself and support us! https://BelieveRationally.com/Shop See this course and many more free online coding courses at https://wewillcode.com Vibe out to some music I created at https://ananomyx.com Check bae's epoxy resin craft store at https://valeryedoesresin.com

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: