we have files with the follwing file name format
VER_{FILE NAME}_{VERSION}
example
VER_collect_important_info.pl_1.0.2
we want to capture only the "FILE NAME" and "VERSION" number
so how to remove the first _ , and the last _ in the file name so we can capture the "FILE NAME" and "VERSION" , ( with sed/awk or perl one-liner )
example
echo VER_collect_important_info.pl_1.0.2 | <some syntax>
collect_important_info.pl 1.0.2