Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1219319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2024-04-18 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found