# I want to extract the string from start till "_RVCT22" in the mentioned string, please help me with the same.
The below program does not give me any output
$string = "Viood_ram_shiva_RVCT22";
if ($string =~/(.*?)\"_RVCT"/)
{
print "The file name is $1. ";
}