The regular expression tester can be found at https://regex101.com/.



Good Social Security Numbers 333-22-9814 123-45-6789 965-09-1524 Bad Social Security Numbers 12-345-6789 098-76-543 1x2-34-9876
Good Three Letter Acronyms IBM CIA FBI NMU Bad Three letter Acronyms MTECH UofI ID NASA
Good Phone Numbers 213-5512 613-4577 902-2211 Bad Phone Numbers 21-444 312-44321 12-34-21 5672145
Good passwords (The rule is at least five letters, followed by at least one digit) freds99 twelve12 wilma21 betsy6 Bad passwords a ab cab 12de a2 g53 aaaaffffgggggg 3334567
Good usernames (start with a lower case letter. Then lower case letter or digit or underscore.) rappleto apoe mkowalczyk snoop2luv Bad usernames Randy Appleton Mkowalczyk 2luvIsSnooping
Good Date (Hint: the stuff before the first / is either a digit or an 10 or an 11 or a 12) 1/2/03 9/13/2004 10/01/1993 Bad Date 13/1/03 11/004/1573 11/9 03
Good Email Addresses apoe@nmu.edu andy.poe@nmu.edu andy1234@bbc.co.uk AndyPoe@www.gmail.com Bad email addresses apoe.nmu.edu andy@poe@nmu.edu andy 1234 @bbc.co.uk andyPoe@nmu
Good URLs http://euclid.nmu.edu http://hockey.mtu.stinks.com/ https://www.cheese.com/ilovecheese.html http://gmail.com/folder/inbox http://fredfredburger.com/~bpeterso Bad URLs htt://turing.nmu.edu http:///~apoe http://steven@barney.com
Good People's Names Steve Smith Dale G. Everrt W. H. Smith Kale McCall Kyle Dudness Bad People's Names Ste.ve Smith dAle G. Evertt W. H Smith JoHn Johnson Calison
Good Phone numbers: 906 225 1983 (312)555-1234 (312) 864-9810 226-8131 314-8532 Bad Phone Numbers 9x1 225 6429 (312) 551 131 (310 653-0913 (98) 762-0945 312-874 906 225 12345