how to get text from body tag in a webpage as a string variable

can anyone tell me how to get whole text from a webpage or from the body tag?
Because I want to process or grep some words in the page and count the number of occurences in that.

Any help will be appreciated.

@Mohit_suresh_Patel use get full text activity