Regex Tutorial | Regular Expressions Explained

Published: 18 December 2020
on channel: 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


On this page of the site you can watch the video online Regex Tutorial | Regular Expressions Explained with a duration of hours minute second in good quality, which was uploaded by the user Dave Gray 18 December 2020, share the link with friends and acquaintances, this video has already been watched 8,368 times on youtube and it was liked by 313 viewers. Enjoy your viewing!