py4ss

Navigation

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

12. 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.

  • 12.1. Regular expression language
    • 12.1.1. Python for Google developers: Regular expression lesson
    • 12.1.2. Basics
    • 12.1.3. Advice
  • 12.2. Regular expression functions and methods
    • 12.2.1. Regular expression objects
    • 12.2.2. Match objects
  • 12.3. Regular expression examples
    • 12.3.1. Crossword puzzle solving
    • 12.3.2. Textonyms (requires NLTK)
    • 12.3.3. Matching card hands (from the Python library page for REs)
  • 12.4. Regular Expression Assignment Practice Lab
    • 12.4.1. How to construct and debug regular expressions
    • 12.4.2. Solving crosswords (requires NLTK)
    • 12.4.3. Textonyms
    • 12.4.4. Regular expression practice
    • 12.4.5. An example that requires NLTK to be installed
    • 12.4.6. Poker examples
    • 12.4.7. Questions
    • 12.4.8. How to do extraction
    • 12.4.9. Tokenization (NLTK assumed)
    • 12.4.10. Sentence boundary detection
    • 12.4.11. Putting it all together
    • 12.4.12. Example of using regular expressions to clean data

Navigation

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