Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to search an substring and eliminate before and after the substring

by QM (Parson)
on Jul 26, 2018 at 15:04 UTC ( #1219319=note: print w/replies, xml ) Need Help??


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

  • Comment on Re: How to search an substring and eliminate before and after the substring
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1219319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2021-02-25 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?