ーThis is the knowledge I got off the internet.
「これはインターネットで得た知識です」
knowledge で「知識」
off the internet で「インターネットで・インターネットから」
ーI gained this information from the internet.
「この情報はインターネットから得ました」
to gain で「得る」
information で「情報」
ーI read on the internet that a lot of foreigners dislike sweet bean jelly.
「インターネットで見たんだけど、外国人の多くは羊羹が嫌いなんだって」
sweet bean jelly で「羊羹」
ご参考まで!
"I read it on the internet, but..."
「インターネットで読んだことだけど…」
この表現は、インターネットから得た情報だが、その信ぴょう性には確信がないときに使います。
"I heard on the internet that some foreigners might not like yokan."
「インターネットで、外国人の中には羊羹が嫌いな人もいるらしいと聞いたよ。」
情報の信ぴょう性を示したいときには、「I'm not sure if it's true, but...」を加えても良いです。