BLue Prism dynamic save

Hello All,
Needed help regarding Save As in Ms Word VBO.
I have a requirement in which i need to save the file name as per name used in the document.
For eg: If Document says : "HI John " , it should be saved as John.
If doc say "Hi Anthony", it should be saved as Anthony
Read and store the name found in the document (John, Anthony), and in the file name parameter of the Word VBO's Save As action enter the file path and concatenate the saved name as the filename. Example: <file path>&"\"&[saved name]&".docx".