|
|
| go ahead... be a heretic | |
| PerlMonks |
Regex Question : Substitutionby azatoth (Curate) |
| on Feb 02, 2001 at 10:41 UTC ( [id://55977]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.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. Any ideas? Thanks Azatoth a.k.a Captain Whiplash Get YOUR PerlMonks Stagename here!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||