Skip to content

Instantly share code, notes, and snippets.

@brandonpittman
Created August 15, 2013 00:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonpittman/6237335 to your computer and use it in GitHub Desktop.
Save brandonpittman/6237335 to your computer and use it in GitHub Desktop.
This is a regular expression to find "Watched" movies in Coin.rb's JSON database.
"\d{1,9}":\{"title":"[A-Za-z \d:\.\&]+","rating":\d\.\d,"tmdb_id":\d{1,9},"released":"\d{4}-\d{2}-\d{2}","watched":"\d{4}-\d{2}-\d{2} \d{2}:\d{2}"\}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment