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

Re: extract a substring between two emements

by exilepanda (Monk)
on Oct 10, 2011 at 07:00 UTC ( #930542=note: print w/ replies, xml ) Need Help??


in reply to extract a substring between two emements

$line =~ m/href="([^"]+.pdf)"/i;

Is that what you want ?


Comment on Re: extract a substring between two emements
Download Code
Re^2: extract a substring between two emements
by Shaveta_Chawla (Acolyte) on Oct 10, 2011 at 08:48 UTC
    Please read my question again as i have changed it and please reply according to that.
      When changing your question, you should keep the original content (you can use striking and underlining to mark deleted and inserted text), so older replies do not become nonsense.
        I am so sorry. I dint know that. But can you give me an answer for my question

        If you wish to use semantic markup instead of display markup, you can use <del>...</del> and <ins>...</ins>.

        • <del>foo</del> generates foo
        • <ins>foo</ins> generates foo

        --MidLifeXis

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-08-28 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls