Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

A regex question

by emelianenko (Initiate)
on Oct 28, 2011 at 19:16 UTC ( #934485=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <a href="page.aspx?a=c4bc46eswsdw32fcc">John.Martines </a></li><li><a 
    +href="page.aspx?a=0a2b-a99d-3754eb2f5e35">Mary Jones</a></li><li><a h
    +ref="page.aspx?a=1ef7b100-8dc4-4b40-871c-68b1d0">Fernando Praderas</a
    +></li><li><a href="page.aspx?a=e8ec1d77-ee83-4797-b9c4-7676053a4926">
    
  2. or download this
    
     if ($line =~ /<a href="page.aspx?.*>.*</a>$/
    
  3. or download this
    $line =~s/(<a href="page.aspx?*>$//.*s/</a>// 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-02 04:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (27 votes), past polls