I am not familiar with Regex. Actually, I've just started with it. I have three different patterns
pattern = re.compile(r'SETUP...\d+')
pattern = re.compile(r'PRO...\d+')
pattern = re.compile(r'INSTALL...\d+')
Some of my strings are SETUP1234, SETUP = 1234, SETUP 1234, SETUP-1234
etc. The same with the others. So, I decide that 3 characters between the prefix and the numbers is a reasonable way to use it. But my problem now is, can I combine the three of them in one Regex instead of calling three different findall
?