如何从网页中提取数据 [英] How to extract data from Webpage
本文介绍了如何从网页中提取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序中,我想在网页上显示dailly qoutes。那么如何将它从网页中提取到字符串中以便在我的表单上显示?
In my application, I wanr to show dailly qoutes from webpage. so how can I extract it from webpage into string to display it on my form?
推荐答案
网页是否正常?
如果是的话你可以制作正则表达式,匹配并显示它。
Is the webpage regular?
If yes you can craft a regexp, match it and show it.
这篇关于如何从网页中提取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文