Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Replacement regular expression which return the number of replacement it does

by Pancho (Pilgrim)
on Mar 17, 2008 at 20:47 UTC ( [id://674642]=note: print w/replies, xml ) Need Help??


in reply to Replacement regular expression which return the number of replacement it does

See the perlretut tutorial on regular expressions and search for this (which specifically deals with s///)

This example counts character frequencies in a line:
Pancho
  • Comment on Re: Replacement regular expression which return the number of replacement it does

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-07-24 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.