msg = 'this is the message. review: http://url.com/123 http://url.com/456'
review_pattern = re.compile('.*review: (.*)$')
urls = review_pattern.findall(msg)[0]
url_pattern = re.compile('(http://url.com/(\\d+))')
url_pattern.findall(urls)
Python regex to match multiple times