So I have received the task of parsing this http://www.us-cert.gov/control_systems/ics-cert/archive.html. I am given a Company name by the user and I must search that page for the section and return all the information in that particular section. So far I tried using this :
my $vendor = "Rockwell Automation"; my $search_start = "<b>$vendor</b>"; my $search_end = "<p> </p>"; $html =~ m/($search_start.+$search_end)/i; print $1;
I do not understand why this doesn't work, it prints out that $1 is uninitialized. What is wrong with my expression? Scroll down for more information...
In reply to Parsing and searching HTML code by jayto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |