py4ss

Navigation

  • index
  • next |
  • previous |
  • home| 
  • search| 
  • 10. Introduction to Python regular expressions

10. Introduction to Python regular expressionsΒΆ

In this section, we give a brief introduction to Python regular expressions.

Regular expressions are expressions that define sets of strings by defining a pattern common to all members of the set.

  • 10.1. Regular expression language
    • 10.1.1. Python for Google developers: Regular expression lesson
    • 10.1.2. Basics
    • 10.1.3. Advice
  • 10.2. Regular expression functions and methods
    • 10.2.1. Regular expression objects
    • 10.2.2. Match objects
  • 10.3. Regular expression examples
    • 10.3.1. Crossword puzzle solving
    • 10.3.2. Textonyms (requires NLTK)
    • 10.3.3. Matching card hands (from the Python library page for REs)
  • 10.4. Regular Expression Assignment Practice Lab
    • 10.4.1. How to construct and debug regular expressions
    • 10.4.2. Solving crosswords (requires NLTK)
    • 10.4.3. Textonyms
    • 10.4.4. Regular expression practice
    • 10.4.5. An example that requires NLTK to be installed
    • 10.4.6. Poker examples
    • 10.4.7. Questions
    • 10.4.8. How to do extraction
    • 10.4.9. Tokenization (NLTK assumed)
    • 10.4.10. Sentence boundary detection
    • 10.4.11. Putting it all together
    • 10.4.12. Example of using regular expressions to clean data

Navigation

  • index
  • next |
  • previous |
  • home| 
  • search| 
  • 10. Introduction to Python regular expressions
© Copyright 2016, Jean Mark Gawron. Created using Sphinx 4.4.0.