No BS: re.findall(pattern, string) is a powerful tool that will find all matches of a particular pattern in a string. This could be used to produce a list of email addresses, IP addresses, post codes. An example would be s = ‘ lorem ipsum adipiscing elit. Vestibulum’ emails = re.findall(r'[\w_.-]+@[\w_.-]+’,s)   With BS: […]

Read more "re.findall()"