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