Groups & Backreferences - RegEx Beginner Tutorial

Pubblicato il: 23 luglio 2024
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Groups & Backreferences - RegEx Beginner Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Height Above Sea Level 23 luglio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 102 volte e gli è piaciuto 3 spettatori. Buona visione!