learn how to use regex in python, also how to do it in a non-greedy way