Validate Email & Password with Regular Expression – Android Studio Tutorial
In this video we will learn, how to validate an email address and password client side, by using regular expressions (regex).
This way we can check, if the inserted email address is formed like an email address, and if the password contains certain characters, like upper and lower case letters, digits and special characters.
For this we will use the Pattern class, with which we can compile a regex from a string and then use the matcher method to compare it with the input.
Design Support Library:
https://developer.android.com/topic/libraries/support-library/packages.html#design
Example code:
https://gist.github.com/codinginflow/8628cdfc3279f0d8e06c77488ccdb132
____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io
⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflo…
📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
❓ Join our free developer community:
https://discord.gg/TSnMvmc
📣 Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
TikTok: https://www.tiktok.com/@codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow
💰 Business requests, sponsoring, etc.: info@codinginflow.com
Views :126951
android studio