Al Sweigart talks about Regular expressions in Python, which have a reputation as opaque and inscrutable. Here are some basics of text pattern recognition
I bought the book. The Regex chapter helped me through that part of the Python course I took (part of MicroMasters program from Georgia Tech and edX.
In addition, I used the chapter on extracting information from PDF files, along with some Regex at work to extract name/address information from a PDF file provided by one of our clients.