Hi,
I have a string like this:
$string ="datafiles/source/main_data_files/content.csv";
if($string=~/main_data_files\/(.*)\.csv/ig) {
print "\n matched-- $1\n";
}
I want to retrieve the csv file name i.e
content.csv
I tried with the above code i am getting the result but i want some other better performance matching part.
How can i get the csv filename?
Regards
Amit