Regular Expressions


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