- 1. Regular Expressions in Python
- 1.1. What are Regular Expressions (aka. Regexes)?
- 1.2. What are Regular Expressions good for?
- 1.3. Examples
- 1.4. Where can I use it ?
- 1.5. grep
- 1.6. Regexes first match
- 1.7. Match numbers
- 1.8. Capture
- 1.9. Capture more
- 1.10. Capture even more
- 1.11. Named capture
- 1.12. findall
- 1.13. findall with capture
- 1.14. findall with capture more than one
- 1.15. Any Character
- 1.16. Match dot
- 1.17. Character classes
- 1.18. Common characer classes
- 1.19. Negated character class
- 1.20. Character classes summary
- 1.21. Character classes and Unicode characters
- 1.22. Character classes for Hebrew text
- 1.23. Match digits
- 1.24. Word Characters
- 1.25. Exercise: add numbers
- 1.26. Solution: add numbers
- 1.27. Solution: add numbers
- 1.28. Solution: add numbers
2. Part 2
- 2.1. Optional character
- 2.2. Regex match 0 or more (the * quantifier)
- 2.3. Quantifiers
- 2.4. Quantifiers limit
- 2.5. Quantifiers on character classes
- 2.6. Greedy quantifiers
- 2.7. Minimal quantifiers
- 2.8. Anchors
- 2.9. Anchors with mulitline
- 2.10. Anchors on both end
- 2.11. Match ISBN numbers
- 2.12. Matching a section
- 2.13. Matching a section - minimal
- 2.14. Matching a section negated character class
3. Part 3
- 3.1. Two regex with logical or
- 3.2. Alternatives
- 3.3. Grouping and Alternatives
- 3.4. Internal variables
- 3.5. More internal variables
- 3.6. Regex DNA
- 3.7. Regex IGNORECASE
- 3.8. DOTALL S (single line)
- 3.9. MULTILINE M
- 3.10. Combine Regex flags
- 3.11. Regex VERBOSE X
- 3.12. Substitution
- 3.13. Substitution and MULTILINE - remove leading spaces
- 3.14. findall capture
- 3.15. Fixing dates
- 3.16. Fixing dates - 1
- 3.17. Fixing dates - 2
- 3.18. Fixing dates - 3
- 3.19. Fixing dates - 4
- 3.20. Anchor edge of word
- 3.21. Double numbers
- 3.22. Remove spaces
- 3.23. Replace string in Assembly code
- 3.24. Replace string in Assembly code - using mapping dict
- 3.25. Replace string in Assembly code - using alternatives
- 3.26. Replace string in Assembly code - generate regex
- 3.27. Full example of previous
- 3.28. Split with regex
- 3.29. Exercises: Regexes part 1
- 3.30. Exercise: Regexes part 2
- 3.31. Exercise: Sort SNMP numbers
- 3.32. Exercise: parse hours log file and create report
- 3.33. Exercise: Parse ini file
- 3.34. Exercise: Replace Python
- 3.35. Exercise: Extract phone numbers
- 3.36. Solution: Sort SNMP numbers
- 3.37. Solution: parse hours log file and give report
- 3.38. Solution: Processing INI file manually
- 3.39. Solution: Processing config file
- 3.40. Solution: Extract phone numbers
- 3.41. Regular Expressions Cheat sheet
- 3.42. Fix bad JSON
- 3.43. Fix very bad JSON
- 3.44. Raw string or escape
- 3.45. Remove spaces regex
- 3.46. Regex Unicode
- 3.47. Anchors Other example