fork download
  1. import re
  2.  
  3. rx = re.compile(r"\(([^()\d]*\d[^()]*)\)")
  4. s = "Some (Author) and (Author 2000) and (another author 2019)"
  5. print(rx.findall(s))
  6.  
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
['Author 2000', 'another author 2019']