in reply to Regexes and URIs
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!/\/(\w+\.\w+)((\?|#|\/).*)?$/;
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--
|
|---|