Skip to content

Instantly share code, notes, and snippets.

@Roman2K
Created February 17, 2014 11:26
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 Roman2K/9048918 to your computer and use it in GitHub Desktop.
Save Roman2K/9048918 to your computer and use it in GitHub Desktop.
var url = 'http://www.unicreditbank.si/tecajna_lista/?t=1&id_menu=&language=ENG';
var rate = UrlFetchApp.fetch(url).getContentText().replace(/\s+/g, '').match(/>USD<\/td.*?>1,.*?>(1,\d+)/)[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment