Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Regex Question : Substitution

by BooK (Curate)
on Feb 02, 2001 at 15:56 UTC ( [id://55981]=note: print w/replies, xml ) Need Help??


in reply to Regex Question : Substitution

Or even shorter, use the transliteration operator:

$eng =~tr/u/a/;

Documentation to be found at: tr and perlop

Replies are listed 'Best First'.
Re: Re: Regex Question : Substitution
by $code or die (Deacon) on Feb 02, 2001 at 17:14 UTC
Re: Re: Regex Question : Substitution
by petral (Curate) on Feb 03, 2001 at 07:26 UTC
    Er, I think he wants t/Uu/Aa/

    p

    oopsdate: Never mind. (I gotta keep this set at a larger font.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2025-05-21 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.