Python regular expressions OR
Solution 1:
re.compile("Sent from my (iPhone|iPod)")
Solution 2:
re.compile("Sent from my (?:iPhone|iPod)")
If you need to capture matches, remove the ?:
.
Fyi, your regex didn't work because you are testing for one character out of i,P,h,o,n,e or one character out of i,P,o,d..