For I think you want to have the SUM characters stripped off, don't you?s/(SUM(\d*))/&sum($2)/eg
[1] Do What I Mean
--
Alfie
In reply to Re: Subroutines in a regex?
by alfie
in thread Subroutines in a regex?
by heidkamp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |