Topic Practice · Advanced
Regular Expressions problems
50 problems: 22 Easy, 18 Medium, 10 Hard.
✓1. Find All Numbers
4 test casesEasy✓2. Sum the Numbers
4 test casesEasy✓3. Count Words with Regex
4 test casesEasy✓4. Hide the Digits
4 test casesEasy✓5. Collapse Whitespace
4 test casesEasy✓6. Capitalised Words
4 test casesEasy✓7. Count Vowels With findall
4 test casesEasy✓8. Starts With a Digit?
4 test casesEasy✓9. Valid Postcode
4 test casesEasy✓10. Words With a Capital Letter
4 test casesEasy✓11. Contains a Digit?
4 test casesEasy✓12. Find a Word
4 test casesEasy✓13. Count the Digits
4 test casesEasy✓14. Remove All Spaces
4 test casesEasy✓15. Starts With Hello?
4 test casesEasy✓16. Ends With a Full Stop?
4 test casesEasy✓17. Small-Letter Words
4 test casesEasy✓18. Only Digits With fullmatch
4 test casesEasy✓19. Split on Commas and Spaces
4 test casesEasy✓20. Star the Vowels
4 test casesEasy✓21. The First Number
4 test casesEasy✓22. Count a Whole Word
4 test casesEasy✓23. Valid Phone Number
4 test casesMedium✓24. Valid Email (Simple)
4 test casesMedium✓25. Extract Emails
4 test casesMedium✓26. Find Dates
4 test casesMedium✓27. Split on Several Separators
4 test casesMedium✓28. Hashtags
4 test casesMedium✓29. Parse Log Lines
4 test casesMedium✓30. Password Rules
4 test casesMedium✓31. camelCase to snake_case
4 test casesMedium✓32. Find the Links
4 test casesMedium✓33. Double Every Number
4 test casesMedium✓34. Count Log Levels
4 test casesMedium✓35. Valid Colour Code
4 test casesMedium✓36. Reformat Dates
4 test casesMedium✓37. Parse a Record With Named Groups
4 test casesMedium✓38. Add Up the Prices
4 test casesMedium✓39. snake_case to camelCase
4 test casesMedium✓40. Remove HTML Tags
4 test casesMedium✓41. Whole Words Only
4 test casesHard✓42. Mask Emails
4 test casesHard✓43. Valid 24-hour Times
4 test casesHard✓44. Parse key=value Pairs
4 test casesHard✓45. Doubled Words
4 test casesHard✓46. Split an Expression Into Tokens
4 test casesHard✓47. Matching Tags
4 test casesHard✓48. Valid IPv4 Addresses
4 test casesHard✓49. Fill a Template
4 test casesHard✓50. Markdown Links to HTML
4 test casesHard
4 test casesEasy✓2. Sum the Numbers
4 test casesEasy✓3. Count Words with Regex
4 test casesEasy✓4. Hide the Digits
4 test casesEasy✓5. Collapse Whitespace
4 test casesEasy✓6. Capitalised Words
4 test casesEasy✓7. Count Vowels With findall
4 test casesEasy✓8. Starts With a Digit?
4 test casesEasy✓9. Valid Postcode
4 test casesEasy✓10. Words With a Capital Letter
4 test casesEasy✓11. Contains a Digit?
4 test casesEasy✓12. Find a Word
4 test casesEasy✓13. Count the Digits
4 test casesEasy✓14. Remove All Spaces
4 test casesEasy✓15. Starts With Hello?
4 test casesEasy✓16. Ends With a Full Stop?
4 test casesEasy✓17. Small-Letter Words
4 test casesEasy✓18. Only Digits With fullmatch
4 test casesEasy✓19. Split on Commas and Spaces
4 test casesEasy✓20. Star the Vowels
4 test casesEasy✓21. The First Number
4 test casesEasy✓22. Count a Whole Word
4 test casesEasy✓23. Valid Phone Number
4 test casesMedium✓24. Valid Email (Simple)
4 test casesMedium✓25. Extract Emails
4 test casesMedium✓26. Find Dates
4 test casesMedium✓27. Split on Several Separators
4 test casesMedium✓28. Hashtags
4 test casesMedium✓29. Parse Log Lines
4 test casesMedium✓30. Password Rules
4 test casesMedium✓31. camelCase to snake_case
4 test casesMedium✓32. Find the Links
4 test casesMedium✓33. Double Every Number
4 test casesMedium✓34. Count Log Levels
4 test casesMedium✓35. Valid Colour Code
4 test casesMedium✓36. Reformat Dates
4 test casesMedium✓37. Parse a Record With Named Groups
4 test casesMedium✓38. Add Up the Prices
4 test casesMedium✓39. snake_case to camelCase
4 test casesMedium✓40. Remove HTML Tags
4 test casesMedium✓41. Whole Words Only
4 test casesHard✓42. Mask Emails
4 test casesHard✓43. Valid 24-hour Times
4 test casesHard✓44. Parse key=value Pairs
4 test casesHard✓45. Doubled Words
4 test casesHard✓46. Split an Expression Into Tokens
4 test casesHard✓47. Matching Tags
4 test casesHard✓48. Valid IPv4 Addresses
4 test casesHard✓49. Fill a Template
4 test casesHard✓50. Markdown Links to HTML
4 test casesHard