in reply to
Extracting Strings - Special Cases
You are printing
$_
, i.e. the whole line. You only want to print the matched part, i.e.
$1
for the first parentheses.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on
Re: Extracting Strings - Special Cases
Select
or
Download
Code
In Section
Seekers of Perl Wisdom