Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: case insensitive replace, but maintains capitalization

by samarzone (Pilgrim)
on Dec 24, 2010 at 07:22 UTC ( #878984=note: print w/ replies, xml ) Need Help??


in reply to Re^2: case insensitive replace, but maintains capitalization
in thread case insensitive replace, but maintains capitalization

This script beautifully handles the first letter of the word. You'll still have to define the (complex) rules for this in case you need more than just first letter. For example if you want "animal" to be replaced by "pet" then what should "ANiMal" be replaced with?

-- Regards - Samar


Comment on Re^3: case insensitive replace, but maintains capitalization

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2014-09-30 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (383 votes), past polls