fork download
  1. import re
  2.  
  3. s = "Job 1233:name_uuid (table n_Cars_1234567$20220316) done. Records: 24, with errors: 0."
  4. m = re.search(r"\(table (\w+\$(\d+))\)", s)
  5. if m:
  6. print(m.group(1))
  7. print(m.group(2))
Success #stdin #stdout 0.03s 9380KB
stdin
Standard input is empty
stdout
n_Cars_1234567$20220316
20220316