I have a problem parse words from HTML table. I need to separate the words from other content (“lemma” column):
The original version of the page in Russian – http://hsu.su/st2
English (googletranslate) – http://hsu.su/155
I have heard of PHP Simple HTML DOM Parser http://simplehtmldom.sourceforge.net/ but I can not figure out how to solve this problem with him.
Download simplehtmldom from the same link you provided..
copy it in the same folder
make sure the path inluded in the code refers to right class
make file.txt file in same folder..
and run the code…
You have
extra which you can remove from php string functions..