Welcome to the Monastery | |
PerlMonks |
Re^2: Regex Parsing Chars in a Lineby kel (Sexton) |
on Nov 26, 2019 at 05:16 UTC ( [id://11109225]=note: print w/replies, xml ) | Need Help?? |
This seems to be what I am looking for: A simple (if complex) bit of code to simply keep firat and last hyphens in a book or multimedia title. I am unfamiliar with the K operator, and a quick google comes up with nothing. I do not normally use tr, but see here where it should be in my toolbox.
Many thanks!
In Section
Seekers of Perl Wisdom
|
|