Skip to content

Instantly share code, notes, and snippets.

@paulmwatson
Created February 22, 2012 23:01
Show Gist options
  • Save paulmwatson/1888214 to your computer and use it in GitHub Desktop.
Save paulmwatson/1888214 to your computer and use it in GitHub Desktop.
Count departments, positions and names in HuffPo masthead
jQuery('.grid.two_thirds.flush_top.secondary_page.no_bg center').text().replace(/;/gm, ':').replace(/(\r\n|\n|\r)/gm, ':').split(':').length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment