100 Days
100 Days
John Aspinall
Day 17 - Form field validation with REGEX
16 minutes Posted May 20, 2020 at 10:11 pm.
0:00
16:02
Download MP3
Show notes
  • Wrote basic REGEX matching pattern for username form validation
  • Learned about the test() method, which compares a regex with a string.  This returns a boolean value which I used as the test value in an IF statement when showing the correct validation message to the user
---
Send in a voice message: https://anchor.fm/100-days-code/message