You have fallen into an entirely new world of things that are not what you think they are. Welcome to R.
Firstly, when you run the line
web_page <- readLines("en.neyshabur.ac.ir/en/119-about-city-of-neyshabur/…)
(verbatim from your question) you will receive an error. This is due to
a) you did not paste the entire line into the question to start with, so part of the url is truncated and replaced with ellipses ("..."),
b) the closing quotation ("
) is missing,
c) readLines
thinks the url is actually a local file.
You and I know that it is in fact a URL, but you will have to explicitly tell readLines
to use the http-protocol. You do so by using the actual URL that starts with http://
.
Next obstacle is the string contents. Go ahead and try print(head(web_page))
- what you see is the HTML structure of the page, including the text you want to work with. You can view in full if you open the URL in a browser, right-click somewhere and select "View source" (or similar). You will now need to extract the relevant text from all that HTML structure.
I suggest you google "web scraping r" and read up on some of the tutorials on how to deal with extracting information from webpages.