In Python compiled regex patterns have a findall method that does the following:
Return all non-overlapping matches of pattern in string, as a list
Nice beginner reference with similar content to @kyle's answer: Perl Tutorial: Using regular expressions