How to setting a part of file name link to the file property?

any one can help me ,How to setting a part of file name link to the file property? thank you very much.

for example , fliename is  "R.125.212 Stop Part", and i want to get  "R.125.212"  link to my file property.

SolidworksApi/macros