What do () parenthesis and | pipe mean in RegExp? #2 REGEX ULTRA BASICS
דרג סרטון זה
התחבר כדי לדרג
תיאור
This episodes shows the basics of how to use capture groups (), non-capture groups (?:) and alternation (|) in Regular Expressions in JavaScript. The editor is called Visual Studio Code and is free 💻 https://code.visualstudio.com/ Code used in the episode 📝 https://gist.github.com/chhib/e005e0e9d48cc81529139afdc2ccecc8 If you're totally new to regex you should definitely watch the first video with the basic basics of regular expressions in JavaScript ▶️ https://www.youtube.com/watch?v=VrT3TRDDE4M The plugin used is called Quokka.js and has both a free and a pro version. There's a sponsored video on Fun Fun Function showing off Quokka in depth: ▶️ https://www.youtube.com/watch?v=W4brAobC2Hc Learn more about Regular Expressions on MDN 🔗 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions Regex Tester websites 🔗 https://www.regexpal.com/ 🔗 https://regex101.com/ 🔗 https://regexr.com/