-2
有人能帮助我从文本文件中找到单词的一部分,然后用php打印整个单词吗? 这样,test.txt的有以下文本,从文本文件中查找单词的一部分,然后打印整个单词作者:PHP
book.physics.class12
disk.chemistry.class11 some random text........
book.math.class12 bla bla
现在我需要找到class12,我需要一个像
book.physics.class12 book.math.class12
输出任何人帮助PLZ?