Renaming the existing families name as per their 'OmniClass Title'

Hi Guys,
My Client asked me to rename the pre-loaded families as per their ‘Omni-Class Title’ and renaming it manually would take a lot of time. I have tried some dynamo script for renaming but too take much time.Is their way to make dynamo script which extracts ‘OmniClass Title’ from the families and renames the family.


So far I have tried this and still can’t copy