
Let’s take a look at this regular expression in action. For this example, we’ll
save the results of a Google Groups search for “@yahoo.com” email to a file called
results.html, and we’ll enter the preceding regular expression all on one line of a
file called wordlfile.txt. As shown in Figure 10.13, we can grab the search results
from the command line with a program like Lynx, a common text-based Web
browser. Other programs could be used instead of Lynx—Curl, Netcat,Telnet, or
even “save as” from a standard Web browser. Remember that Google’s terms of
service frown on any form of automation. In essence, Google prefers that you
simply execute your search ...