JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>Test Page</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<input type="file" id="tester" />
</body>
</html>
JavaScript
$(function()
{
var bogus;
var triple;
$('#tester').change( function()
{
triple = $('#tester').val();
bogus = triple.split(/[\s/]+/);
alert( bogus[bogus.length-1] );
});
});