 
        0
    
    
    How to extract a filename from a URL to save locally
I'm using the download tag to save an arbitrary selection of sound files locally so that they can be played while offline.Can anyone suggest how I can extract just the filename from the URL in order to use that as a variable for the filename?
 
0
	
    
	
	
	
	
	
	
	
	
		icahill (Administrator) hace 12 años
    
	Your best bet here is to just javascript to extract what you need. Check out this example below: 
	
	
Servicio de atención al cliente por UserEcho
 Preguntas
		
		
	
Preguntas 
		
		
	
