Hey gang, in this RegEx tutorial I’ll show you how we can validate a form field using the regex test method, like so:
/myregex/.test(field_value)
If you need a refresher on JS, check out one of these 2 playlists:
JS for beginners:
https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET
JS an the DOM:
https://www.youtube.com/playlist?list=PL4cUxeGkcC9gfoKa5la9dsdCNpuey2s-V
DONATE 🙂 – https://www.paypal.me/thenetninja
—– COURSE LINKS:
+ RegEx101 – https://regex101.com/
+ Course files – https://github.com/iamshaunjp/regex-playlist
+ Atom editor – https://atom.io/a
+ CMDER – http://cmder.net/
======== Other Tutorials =========
—– NODE.JS TUTORIALS
https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp
—– MONGODB TUTORIALS
https://www.youtube.com/playlist?list=PL4cUxeGkcC9jpvoYriLI0bY8DOgWZfi6u
—– SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1
======== Social Links ==========
Twitter – @TheNetNinja – https://twitter.com/thenetninjauk
Patreon – https://www.patreon.com/thenetninja
source https://www.youtube.com/watch?v=vgmwEiT1wzc