检索网页的第30个字? [关闭]

I was just wondering if what to do or is this even possible if I want to retrieve the 30th word of a web page. It can be the 25th or any number but my dilemma is about on how to do this. Is this even possible? Thank you.

Use file_get_contents() to get the page, then explode() to split it into an array (specify spaces as the separator) and do my_exploded_array[x] where X is the word you want. Note that file_get_contents returns the HTML, not the rendered page.