Regex Coding Tutorial, Match Non-Whitespace Characters, Tutorial on Regular Expressions

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=JPoRqk940Cc



Duration: 1:56
205 views
0


In this regular expression lesson from freeCodeCamp, we take a look at the opposite of \s (which finds whitespace for us), and instead, we use \S to get a single match on anything but whitespace in a string. For our challenge, we also apply the "g" flag in order to return all non-whitespace characters in a string. Utilizing \S helps us exclude all whitespace from being matched similar to using the character class [^\r\t\f\n\v]. The difference is that this way is shorter and easier to read but will do the same thing as the long hand version.

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




Other Videos By We Will Code


2021-11-30Call Of Duty Vanguard PS5, Campaign Gameplay Phoenix Call Of Duty Walkthrough, Vanguard Gameplay
2021-11-29Zombies on Call Of Duty Vanguard PS5, Gameplay Experience
2021-10-22Worldcoin Orb Operator Application Introduction, Why choose Worldcoin? Questions and Answers.
2021-04-14BanrKit, Best Animation Software to Make Money Online and Sell Your Designs,
2021-04-13Churchio, Consultant Non-Profits & Church Management Software, Manage Non-Profit Efficiently
2021-04-12Exlweb, Mobile First Wordpress Ecommerce Web Solution, Integrated with Most powerful Theme Builders
2021-02-13freeCodeCamp Check for All or None, Regex Pattern Tutorials 2021
2021-02-13Specify Exact Number of Matches, Free Online Coding Tutorial
2021-02-11freeCodeCamp, Specify Only the Lower Number of Matches, Free Coding Tutorial for Beginners in 2021
2021-02-11Specify Upper and Lower Number of Matches, freeCodeCamp Coding for Beginners 2021
2021-02-11Regex Coding Tutorial, Match Non-Whitespace Characters, Tutorial on Regular Expressions
2021-02-10Regular Expressions 2021 freeCodeCamp, Match Whitespace
2021-02-09freeCodeCamp Regular Expression, Restrict Possible Usernames, 2021 Coding Tutorials for Beginners
2021-02-08freeCodeCamp Regular Expressions, Match All Non-Number using Regex 2021 Coding Tutorials
2021-02-08Understanding Regular Expressions on freeCodeCamp 2021, Match all Numbers Regex Pattern Matching
2021-02-07Regular Expressions in 2021, freeCodeCamp Regex Match Everything But Letters and Numbers, Coding Vid
2021-02-06freeCodeCamp 2021 Regular Expressions Match All Letters and Numbers, Master Regex 2021 Coding lesson
2020-02-14Match Ending String Patterns Using Regexes, Regex Pattern Matching Tutorial, freeCodeCamp Coding Ex
2020-02-13Match Beginning String Patterns, Regex Tutorials
2020-02-08Find One or More Criminals in a Hunt, Regular Expression Greedy Match Lesson
2020-02-08Find Characters with Lazy Matching, Learning about Regular Expressions in 2020, Learn Regex Features



Tags:
programming
javascript
js
coding tutorials
tutorials for coding
non digit characters