Created
September 25, 2012 18:23
-
-
Save Iknewthisguy/3783558 to your computer and use it in GitHub Desktop.
Text Scrubbing
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
listingSkills = $('div#search-sidebar.contentBox.clearfix div.pa20 div.skills').text().replace /[,\/.()""'']+ ?/g, " " | |
listingSkills = listingSkills.replace /\b(\s+|and|or|deflect|an|a|etc)\b/g, " " | |
listingSkills = listingSkills.replace /^\s+|\s+$/g, "" | |
listingSkills = listingSkills.split /\s+/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment