Quantifiers in regular expressions determine how many characters are matched. If you're matching too few or too many characters, you'll need to learn how to use quantifiers whether for regular expressions in C#, JavaScript, Python, or Java.
The approach is the same in multiple programming languages, and the main regex quantifiers you need to know are the + quantifier, * quantifier, ? quantifier, and {n} quantifier.
Some variations of these can be considered greedy quantifiers while others are lazy (non-greedy) quantifiers, but that's a bit too advanced for this beginner regex tutorial, so I'll leave you with a link to a regex cheat sheet if you'd like to learn more about them.
https://developer.mozilla.org/en-US/d...
I use regex101 to test my regex patterns, but you can use any online regex tester that meets your needs.
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Subscribe to the channel ✔️
/ @heightabovesealevel
Become a member to access exclusive perks.
/ @heightabovesealevel
CUSTOM SASUKE THEME for Visual Studio, exclusive content, and more on Patreon.
/ heightabovesealevel
Click the 🔔 to turn on notifications so you don't miss anything.
Come hang out on DISCORD!
Discord: / discord
Other awesome videos worth checking out:
How to Match Numbers Using Regular Expressions
• How to Match Numbers (Phone Number Ex...
How to Match Special Characters Using Regular Expressions
• How to Match Special Characters (Emai...
A tip is always appreciated :)
https://streamelements.com/avatarvick...
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Timestamps:
00:00 - Why You Need Quantifiers in Regular Expressions
00:58 - (+) Quantifier
02:06 - (*) Quantifier
03:07 - (?) Quantifier
03:47 - {n} Quantifier
04:57 - (+) Quantifier Visual Studio Demo
06:00 - Claim Your Custom Visual Studio Theme
06:37 - (*) Quantifier Visual Studio Demo
07:05 - (?) Quantifier Visual Studio Demo
07:36 - {n} Quantifier Visual Studio Demo
08:47 - Quick Recap Of Everything
09:17 - What's Next?
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Here's my other social media - amazing stuff over there too!
🎮 TWITCH ➼ / avatarvick
📷 INSTAGRAM ➼ / heightabovesealevel
😂 TWITTER ➼ / vicktor_oti (VICKTA)
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
🎵 Music provided by:
StreamBeats by Harris Heller
https://www.streambeats.com/
Certain gifs courtesy of tenor.com.
Certain pictures courtesy of freepik.com.
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
#programming #regex #regularexpressions
Thank you for watching.
Subscribe, and I'll see you in the next video.
Watch video Quantifiers - RegEx Beginner Tutorial online without registration, duration hours minute second in high quality. This video was added by user Height Above Sea Level 04 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9 once and liked it people.