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
На этой странице сайта вы можете посмотреть видео онлайн Regex Tutorial | Regular Expressions Explained длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Dave Gray 18 December 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 8,368 раз и оно понравилось 313 зрителям. Приятного просмотра!