How to search for a webpage in ruby ββIt's hard to explain, but here is the code for this in Python
import urllib2, re word = "How to ask" source = urllib2.urlopen("http://stackoverflow.com").read() if re.search(word,source): print "Found it "+word
Php
source share