i have the below files in the folder
- DLY-20150721-BOOST_UVERSE-ADJ.xls
- DLY-20150721-BOOST_UVERSE-ADJ-BOOST-DISCONNECT.txt
- DLY-20150721-BOOST_UVERSE-ADJ-ERR.txt
- DLY-20150721-BOOST_UVERSE-ADJ-RR20150721181623+0530.xls
- DLY-20150721-BOOST_UVERSE-ADJ-BOOST-DISCONNECT-RR20150721181623+0530.txt
- DLY-20150721-BOOST_UVERSE-ADJ-ERR-RR20150721181623+0530.txt
i'm getting the filename='DLY-20150721-BOOST_UVERSE-ADJ.xls' from a source. so by refering the file name i want to pick the associated .txt file names like
- DLY-20150721-BOOST_UVERSE-ADJ-BOOST-DISCONNECT.txt
- DLY-20150721-BOOST_UVERSE-ADJ-ERR.txt
and store it in a buffer. but i'm not getting any idea how to do. i hope by using a regex i guess i can pic the files. but how to pic the whole file names and store in buffer ?