The problem
<sniperd> looking to write a regex that strips out all periods, except for the last one. ie, i have a string named perl.is.the.best.txt and I just want perlisthebest.txt
- Freenode's #perl.
continued...TATMWTDI | There are too many ways to do it | #2 |
<sniperd> looking to write a regex that strips out all periods, except for the last one. ie, i have a string named perl.is.the.best.txt and I just want perlisthebest.txt
- Freenode's #perl.
continued...Copyright © 2005 Shlomi Fish |