Groups & Backreferences - RegEx Beginner Tutorial

Veröffentlicht am: 23 Juli 2024
auf dem Kanal: Height Above Sea Level
102
3

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.


Auf dieser Seite können Sie das Online-Video Groups & Backreferences - RegEx Beginner Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Height Above Sea Level 23 Juli 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 102 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!