Regular expressions are a sort of language within the language, specifically designed to match string patterns. In this video, we take a first look at the search, group and span methods and character sets. Mastering regular expressions will make you much more effective at text processing.
Check out the notebooks linked below for more information on Regular Expressions in Python.
Embedded video, part of the following courses:
Computer Programming at Queen Mary, University of London
Jupyter notebook: https://tinyurl.com/4cd3xrjk
Coding for Scientists at Queen Mary, University of London
Jupyter notebook: https://tinyurl.com/2wx5w9yd
Notebooks will open on Google Colab - no installation required