regex - How do I perform a Perl substitution on a string while keeping the original? - Stack Overflo
In Perl, what is a good way to perform a replacement on a string using a regular expression and store the value in a different variable, without changing the original? I usually just ......