$oldValue = "UPNOON_0303.doc"; #### $newValue = "0303"; #### my $newValue=split("_",$oldValue,2);