@anom2002 , Welcome to Microsoft Q&A, Please refer to the following steps to write the code to get the wanted call numbers
First, We could use regex to get the number string and alpha string from the source string.
Second, We could get 5 random number from the string 0123456789
.
Third, Please insert . to the number.
Fourth, We could get 3 random character from the string 'abcdefghijklmnopqrstuvwxyz' and upper the characters.
Finally, We can use Stringbuilder get the result you want.
Here is a code example you could refer to.
Result:
Best Regards,
Jack
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.