Read the content of the Doc or Docx file formats

Hi i am trying to read the content of the Doc or Docx files,
i am trying to use Read Text but didn’t understand where to give file path
i also tried with Word Application Scope activity , where i can give file path and unable to find the Output variable to store the file content.

@vasundhara_user1

Welcome to our UIPath Community.

Use Word Application Scope activity and provide word file path you want to read. Inside this activity use Read Text activity to read the content from word file.

How can i give email regular expression inside Read Text activity to extract email value from the Document file