|
|
| P is for Practical | |
| PerlMonks |
Re: a task for a regular expression expertby stephen (Priest) |
| on Apr 13, 2002 at 17:23 UTC ( #158798=note: print w/ replies, xml ) | Need Help?? |
|
Regular expressions are the vice-grips in the Perl programmer's toolbox. They're important tools. They're useful for just about everything. And overusing them can get you into sticky situations. Here's code to transform 'artist_name-title_with_other(chars)' into 'Artist Name - Title With Other Chars'.
stephen
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||