but I want it to become$test = "abc1 abc1 abc1 abc1 abc1";
Is there some expressionabc1 abc2 abc3 abc4 abc5
that would transform the string for me? I've been good all year; please come through for me,$test =~ s/(1)/<..something..>/g;
In reply to incremental substitution w/ regexp only? by peter.mao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |