in reply to Search and replace the Text using id numbers in perl using hash

I'm having a hard time trying to understand your question. Could you be more specific?

What do you want to replace that string with?

  • Comment on Re: Search and replace the Text using id numbers in perl using hash

Replies are listed 'Best First'.
Re^2: Search and replace the Text using id numbers in perl using hash
by Happy-the-monk (Canon) on Feb 09, 2015 at 12:56 UTC

    err, I understood he is asking for either a literal...

    s[<xref ref-type="bibr" rid="b0001">Ewald <italic>et al.</italic>, 199 +3</xref>]{<xref ref-type="bibr" rid="Ewald1">Ewald <italic>et al.</it +alic>, 1993</xref>}

    ... or something along that line that maybe needs to handle the ocurrences of things resembling the strings "b0001" and "Ewald" in the example in a more dynamic fashion, if I am on to the right idea.

    Cheers, Sören

    Créateur des bugs mobiles - let loose once, run everywhere.
    (hooked on the Perl Programming language)