Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2016-10-27 13:45 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (362 votes). Check out past polls.