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.)