Use while() to repeat the search until all is done:
perl -e '$a = "abcde{BS}{BS}f"; while($a =~ s/.{BS}//) {}; print $a;'In reply to Re: Cleaning the Log
by fglock
in thread Cleaning the Log
by Sigmund
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |