Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created September 25, 2012 22:51
Show Gist options
  • Save objectivehtml/3784945 to your computer and use it in GitHub Desktop.
Save objectivehtml/3784945 to your computer and use it in GitHub Desktop.
Get filename from URL
/(((.|\n)*)[\/$])|(\.(.|\n)*)/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment