Regex Javascript | Regular Expressions in JavaScript

Publicado el: 21 diciembre 2020
en el canal de: Dave Gray
7,634
254

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

Regex (aka Regular Expressions) in JavaScript are very useful. In this tutorial, we'll take user input for validation and provide hints for the user along the way. We'll also look at a common fix with regex that most user input will benefit from. Finally, we'll look at encoding text with encodeURI() and why we should use regex to clean the text first.

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

✅ Quick Concepts outline:
Regex in JavaScript:
• Testing for a regex pattern match
• Providing feedback for the user
• Cleaning the input text for storage with replaceAll
• A common problem with user text inputs
• Cleaning the text before encoding

🔗 Code Repository: https://github.com/gitdagray/regex_js...

📚 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  

Was this tutorial about Regex (Regular Expressions) in JavaScript helpful? If so, please share. Let me know your thoughts in the comments.

#regex #javascript #js


En esta página del sitio puede ver el video en línea Regex Javascript | Regular Expressions in JavaScript de Duración hora minuto segunda en buena calidad , que subió el usuario Dave Gray 21 diciembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 7,634 veces y le gustó 254 a los espectadores. Disfruta viendo!