Outline

Even though regular expressions (regex) take some time to learn, we believe it's worth it because they are very powerful. No matter if we want to:

  • find patterns in text,
  • grab HTML tags,
  • or trim whitespaces in text,

regex can help us. One of the great advantages is that it works across programming languages. Once you learn regex, you can use it in any programming language. In this section, we will start with simple tutorials for beginners and continue with more complex exercises and regex in Python.