Week 6 Homework

Cheatsheet

Week 6 Regular Expressions Homework🔗

This is a template for the report of 21 problems on this site.🔗

We recommend you (re)watch our presentation, and use a cheatsheet while working on the following problems.🔗

If you are having problems with figuring out the correct solution, skip it for later, and if you are completely lost, use the hints and try to understand them.🔗


Problem 1: Floating point numbers🔗

insert your pattern here

Problem 2: Years before 1990🔗

insert your pattern here

Problem 3: Hexadecimal colors🔗

insert your pattern here

Problem 4: Grayscale colors🔗

insert your pattern here

Problem 5: Too long lines🔗

insert your pattern here

Problem 6: Remove repeating words🔗

insert your pattern here

Problem 7: Match HTML tags🔗

insert your pattern here

Problem 8: Cut numbers two digits after floating point🔗

insert your pattern here

Problem 9: Digit commas formatting🔗

insert your pattern here

Problem 10: Match lowercase function declarations🔗

insert your pattern here

Problem 11: Change date formats🔗

insert your pattern here

Problem 12: Validate 24h time format🔗

insert your pattern here

Problem 13: Validate AM/PM time format🔗

insert your pattern here

Problem 14: Pascal style to C-style parameters🔗

insert your pattern here

Problem 15: Change variable initialization🔗

insert your pattern here

Problem 16: IPv6 adresses🔗

insert your pattern here

Problem 17: Validate 32 or 24 bit hexadecimal colors🔗

insert your pattern here

Problem 18: Replace operators with function calls🔗

insert your pattern here

Problem 19: Extract query string from URL🔗

insert your pattern here

Problem 20: Extract host from URL🔗

insert your pattern here

Problem 21: Strings not containing word🔗

insert your pattern here