
wickedxter
User
Aug 24, 2011, 6:15 AM
Views: 3241
|
|
Re: [AsiaSkyly] Help me with this regular expression!
|
|
|
try that it will capture everything after the last _ and everthing after that my $production_country = "PRODUCTION" . $country . "MAIN"; $file =~ /$production_country\_*\w*\_(.*)/ print $1;
(This post was edited by wickedxter on Aug 24, 2011, 6:15 AM)
|