Thanks for your input Jay. Your code worked well with what
I wanted to do. But...now came another glinch.
What if the input file looked like this:
c:/loc1/loc2/loc3/84xxxxxB01_e1_1
When ran, the program output looked like this:
84xxxxxB01e_bot
when it should look like this
84xxxxxB01_e1_bot
Do I need to remove the first two characters first
before running your "line" (/\/(
^\/+)\d$/;) or
is there a way to this with your one "line" of code?
Bare with me as I don't get into programming with perl
as much as I'd like, but I'm trying.
Thanks..RCP