Regex Tutorial | Regular Expressions Explained

Pubblicato il: 18 dicembre 2020
sul canale di: Dave Gray
8,368
313

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

In this tutorial, we will look at Regex (Regular Expressions) basics and some examples of useful regex patterns. Regex is used to describe and select patterns inside of string data. Regular Expressions make up a small language that may be utilized inside of many other programming languages. Regex patterns may be used inside of JavaScript, Python, Java, C++, and more.

Subscribe ➜ https://bit.ly/3nGHmNn

✅ Quick Concepts outline:
Regex Basics:
• Character sets
• Negated sets
• Ranges
• Global and Case Insensitive flags
• Special character: dot
• Escaping special characters
• Word characters
• Digits
• Whitespace
• Match all characters
• Match the beginning of a string
• Match the end of a string
• Multiline flag
• Capturing and Non-capturing groups
• Positive and Negative lookahead
• Quantifiers
• Select one or more
• Select zero or more
• Make a selection optional
• Make a quantifier lazy instead of greedy
• Alternation: using "or" |
• Example pattern 1
• Example pattern 2
• Example pattern 3

📚 References:
MDN Regular Expressions: https://developer.mozilla.org/en-US/d...
RegExer: https://regexr.com/
Regex101: https://regex101.com/

📺 More Beginner JS Videos:
freeCodeCamp:    • Learn JavaScript - Full Course for Be...  
Traversy Media:    • JavaScript Crash Course For Beginners  
The Net Ninja:    • Modern JavaScript Tutorial #1 - Intro...  

✅ Follow Me:
Twitter:   / yesdavidgray  
Reddit:   / daveoneleven  
Medium:   / davegray_86804  

#regex #regular #expressions


In questa pagina del sito puoi guardare il video online Regex Tutorial | Regular Expressions Explained della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Dave Gray 18 dicembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 8,368 volte e gli è piaciuto 313 spettatori. Buona visione!