Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by kroach (Pilgrim)
on Feb 09, 2015 at 12:48 UTC ( [id://1116043]=note: print w/replies, xml ) Need Help??


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)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-19 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found