link.replace(/[^0-9]/g,'')
Archive for September, 2007
Regular Expression to replace all characters except …
Monday, September 17th, 2007Extracting the last part of the url
Monday, September 17th, 2007link.substring(link.lastIndexOf('/')+1,link.lastIndexOf('.'))