New course! Every coder should learn Generative AI!
Try a free lesson+ 1
https://docs.python.org/2/howto/regex.html
There are some examples and all explanation you would need for now. (It's always best to look at the docs first)
Use this as auxiliar:
https://www.tutorialspoint.com/python/python_reg_expressions.htm