Created
October 5, 2008 16:17
-
-
Save danielharan/14898 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dir.glob("*").each do |pc| | |
File.open(pc).read =~ /aug08cpocRidingProfileTitle>([^<]*)</ | |
puts "#{pc},#{$1}" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dir.glob("*").each do |pc| | |
File.open(pc).read.split("\n").first =~ /InfovoteMain\.aspx\?L=e&ED=(\d{5})&EV/ | |
puts "#{pc},#{$1}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment