Extract data from selected text

I’m trying to resolve it but unable to solve this issue.Can you please share any sample workflow or any idea to be resolved.