Validating a Postcode in Java

Publié le: 01 juin 2017
sur la chaîne: Max O'Didily
3,782
33

Hello guys and girls, today I am here with postcode validation to help you get that A in your practical exam. I will be honest, most tutorials out there for this are too long or are terrible so I hope I break the trend and provide a useful video. All you do is get the user input, make a pattern object, compare the user input to the patter. If it matches the rule of the pattern (aka regex) then print true, if not then print false.

Regex code: "^[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][ABD-HJLNP-UW-Z]{2}$"

Easter holidays are over but I will try to upload as often as possible. Why not subscribe to keep notified when I upload?
https://tinyurl.com/SubMaxODidily

Social media:
Instagram:   / mcod1999  
Twitter:   / mcod1999  

Validating a Postcode in Java


Sur cette page du site, vous pouvez voir la vidéo en ligne Validating a Postcode in Java durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Max O'Didily 01 juin 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,782 fois et il a aimé 33 téléspectateurs. Bon visionnage!