Groups in regular expressions come in two forms - capturing groups and non-capturing groups. Capturing groups work together with backreferences to reference saved matches.
Regex groups and backreferences in C#, JavaScript, Java, or Python work similarly. You can also turn them into named capturing groups and named backreferences for easier reading.
Disjunctions are often used with groups to match either one thing or the other (alternatives) using a pipe symbol. This regex beginner tutorial shows how to use groups and how to use backreferences.
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
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:
Lookaheads in Regular Expressions
• Positive & Negative Lookaheads - RegE...
Lookbehinds in Regular Expressions
• Positive & Negative Lookbehinds - Reg...
Regular Expressions for Beginners Playlist
• Regular Expression (RegEx) Beginner T...
A tip is always appreciated :)
https://streamelements.com/avatarvick...
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Timestamps:
00:00 - What are Groups & Backreferences in Regular Expressions?
00:38 - Capturing Groups & Backreferences
02:53 - Named Capturing Groups & Named Backreferences
03:26 - Non-Capturing Groups
03:42 - Disjunction/Alternatives
04:20 - Capturing Groups & Backreferences Visual Studio Demo
04:57 - Claim Your Custom Visual Studio Theme
05:47 - Disjunction/Alternatives Visual Studio Demo
06:28 - Quick Recap
06:52 - 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 images courtesy of unsplash.com.
Certain gifs courtesy of tenor.com.
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
#programming #regularexpressions #regex
Thank you for watching.
Subscribe, and I'll see you in the next video.
Sur cette page du site, vous pouvez voir la vidéo en ligne Groups & Backreferences - RegEx Beginner Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Height Above Sea Level 23 juillet 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 102 fois et il a aimé 3 téléspectateurs. Bon visionnage!