Hello folks,
Looking for a quick help on regex in my perl script.
here's the string i want to parse and get the 2nd field out of it.
$str = " 2013-08-07 12:29 Beta ACTIVE";
I want to extract 'Beta' out of this string. This string will keep on changing but the format will be same as above. The second field i'm interested in might be a combination of alphanumeric and non-whitespace character like '_'
e.g.
$str = " 2013-08-07 12:29 Backup_Beta_08072013 ACTIVE";
I want the 'Backup_Beta_08072013' to be extracted from above line.
Please help.