in reply to Regexes and URIs

For your example this would work:
/\/(\w+\.\w+)$/
Things get trickier if you have parameters after the file, or even anchors - you could get lazy and use Dot Star:
/\/(\w+\.\w+)((\?|#|\/).*)?$/;
But I am sure there is a better way , japhy's reference to URI is probably the best - explore!

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--