in reply to RegEx is required for the below pattern
You can start with File::Basename module.
All, thanks a lot for the replies
Yes from next time i will be prepared little better