human
Capturing group with findall?
assistant
Here is some code to match regex 'abc(de)fg(123)' on string 'abcdefg123 and again abcdefg123'

re.findall('abc(de)fg(123)', 'abcdefg123 and again abcdefg123')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.