More into regex
Findall - lists, tuples,
^, $, ., .*, .*?
DOTALL, IGNORECASE,VERBOSE methods of re module
.sub() - to replace; Dividing text into groups & extracting 1st letter of a word
To end it, wrote a sample program to extract phone numbers & email ids from a large sample of text, & used some concepts of regex learnt so far
It was fun to improvise the code as well to debug a little bit. I was writing code in google colab, which cannot use pyperclip module as it runs in virtual environment. So, created a sample text myself with some scenarios included.
Udemy course - Automate the boring stuff with Python
8/n
#LearnAI_MLForJob