Regular Expressions


  1. Regexes
  2. Raw string or escape
  3. Match numbers
  4. Capture
  5. findall
  6. Any Character
  7. Character classes
  8. Common characer classes
  9. Negated character class
  10. Optional character
  11. Regex 0 or more quantifier
  12. Quantifiers
  13. Quantifiers on character classes
  14. Match ISBN numbers
  15. Matching a section
  16. Matching a section
  17. Anchors
  18. DOTALL S (single line)
  19. MULTILINE M
  20. Two regex with logical or
  21. Alternatives
  22. Grouping and Alternatives
  23. Internal variables
  24. Regex DNA
  25. Regex IGNORECASE
  26. Regex VERBOSE X
  27. Substitution
  28. findall capture
  29. Regex Exercises
  30. Regex Exercises
  31. Exercise: Sort SNMP numbers
  32. Exercise: parse hours log file and give report
  33. Exercise: Parse ini file
  34. Processing INI file manually
  35. Processing config file
  36. Regular Expressions Cheat sheet