Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Perl Regex

by swl (Parson)
on Nov 17, 2019 at 05:38 UTC ( [id://11108811]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Regex
in thread Perl Regex

Try this for the regex. It works with the test data provided.

my @matches = ( $str =~ m/\|?Link:([\s0-9-]+)/g );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-29 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found