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";
In reply to Re: Parsing of a string
by perlsen
in thread Parsing of a string
by Aaryan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |