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

Re: how to do replace more then one matches?

by AnomalousMonk (Monsignor)
on Jun 03, 2013 at 15:06 UTC ( #1036787=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my $s = 'xyz table 1 table tablet table2 fig 3 fig figer fig4 zyx';
    ...
    "
    'xyz table 1 table tablet table2 fig 3 fig figer fig4 zyx'
    'xyz <aid=table 1 table tablet <aid=table2 <aid=fig 3 fig figer <aid=f
    +ig4 zyx'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2014-07-30 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls