in reply to Parsing of a string

Hi, just try this,

my $input='1:05:02.599,xx:MTV = 0x2f7c:COOL_CALL, an option = 11'; my $match; ($match) = $input =~ m#:(?:\w+)?\s*=\s*(0x[a-f0-9]+):#i; print "$match";