Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to scan a webpage for particular words and then find them in a .docx file?

+4 votes
asked Dec 10, 2021 by Areeb Sherjil (1,920 points)
This is a slightly unrelated question and is more about web programming I guess.

How can I scan perticular sentences(string) in a webpage and then look for them in a word file? Of course I can do this myself but how can I program something to do it for me?

1 Answer

0 votes
answered Dec 10, 2021 by Peter Minarik (55,660 points)

I've never done anything like this, but here's how I would go about it.

  1. Consult my friend, Google. :)
  2. If that didn't help, I'd see how I can download a website (i.e. get the content) and search in that. (See this, for instance.)
  3. Then find a way to read a Word document. And search in it. (See this, for instance.)
commented Dec 10, 2021 by Areeb Sherjil (1,920 points)
I wasn't sure exactly what to ask your friend- Google- but this helps.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...