python regex cheat sheet

# Go to this link 
https://www.dataquest.io/blog/regex-cheatsheet/

Here is what the above code is Doing:
1. We’re using the re.sub() function to replace all instances of the pattern we’re looking for with an empty string.
2. The first argument in re.sub() is the pattern we want to look for. Here, we want to find any instance of a lowercase letter, followed by zero or more instances of any character that isn’t a lowercase letter.
3. The second argument is the replacement we want to make. Here, we want to replace that pattern with an empty string.
4. The third argument is the string we want to search through.