in reply to How to search an substring and eliminate before and after the substring
Try
my @match = $string =~ m/eid[ -]+(\d+)/;
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
---|
In Section
Seekers of Perl Wisdom