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

Re: extract a substring between two emements

by exilepanda (Pilgrim)
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 ?

Replies are listed 'Best First'.
Re^2: extract a substring between two emements
by Shaveta_Chawla (Sexton) 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


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930542]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-06-20 14:28 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.