Hello everyone File#basename would not work as they are dated and numbered on the live network. I could have used that to save me time on some old scripts though >( I got it working using Jeffs regex link. That site has been bookmarked. Thanks everyone as usual for the fast replies and helpful info! Kind Regards -- Posted via http://www.ruby-forum.com/.