Auto Mapping Velocity to sample name

Has anyone worked out how to auto assign Velocity using sample name , If you have round robins and you get numbers " -01 , -02 ,-03 etc… " added when you sample

you can see below the first sample 127 , is working correctly ,
but 127 -01 , assign to 01 - 127
127 -02 , assign to 02 - 127