Skip to content

Instantly share code, notes, and snippets.

@killtheliterate
Created February 12, 2015 20:13
Show Gist options
  • Save killtheliterate/b3f52a9526f8f40889f6 to your computer and use it in GitHub Desktop.
Save killtheliterate/b3f52a9526f8f40889f6 to your computer and use it in GitHub Desktop.
'these are some words that i want to search for a thing, and i am searching, yea, searching'.match(new RegExp('thing')).length;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment