Lookahead assertions in regular expressions come in two types - positive lookaheads and negative lookaheads. They're used similarly in C#, JavaScript, Java, or Python.
These are just two examples of regex assertions, and this beginner tutorial shows you how to use the positive lookahead and how to use the negative lookahead.
You can always test your regular expression patterns on a free online regex tester like regex101.com (not sponsored) to check if your lookahead's not working.
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
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:
Quantifiers in Regular Expressions
• Quantifiers - RegEx Beginner Tutorial
How to Match Numbers Using Regular Expressions
• How to Match Numbers (Phone Number Ex...
Regular Expressions for Beginners Playlist
• Regular Expression (RegEx) Beginner T...
A tip is always appreciated :)
https://streamelements.com/avatarvick...
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Timestamps:
00:00 - What are Lookaheads in Regular Expressions?
01:02 - Positive Lookahead (?=)
02:33 - Negative Lookahead (?!)
03:20 - Positive Lookahead Visual Studio Demo
04:10 - Claim Your Custom Visual Studio Theme
04:33 - Negative Lookahead Visual Studio Demo
05:10 - Quick Recap
05:34 - 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 gifs courtesy of tenor.com
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
#programming #regularexpressions #regex
Thank you for watching.
Subscribe, and I'll see you in the next video.
Смотрите видео Positive & Negative Lookaheads - RegEx Beginner Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Height Above Sea Level 17 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5 раз и оно понравилось людям.