Solution
recommendations = re.sub('\d', 'title', recommendations)
recommendations = re.sub('\d+', 'title', recommendations)
recommendations = re.sub('\d', 'title', recommendations)
recommendations = re.sub('\d+', 'title', recommendations)