|Think about Loose Coupling|
Regex Question : Substitutionby azatoth (Curate)
|on Feb 02, 2001 at 15:41 UTC||Need Help??|
azatoth has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Guys -
I have looked in Supersearch, but can't find anything close to my query...although, i couldn't really think of any good search strings either :P
The code above does the following. If I enter
"Jump up, Helmut!",
the result is
"Jamp up, Helmut!".
What I want though, is
"Jamp ap, Helmat!".
I.E Substitute every 'u' for an 'a', instead of just the first one.
Azatoth a.k.a Captain Whiplash
Get YOUR PerlMonks Stagename here!