Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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
Replies are listed 'Best First'.
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.

        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

        I am so sorry. I dint know that. But can you give me an answer for my question

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 drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2015-07-30 04:36 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 (269 votes), past polls