$str =~ s/^(hello kitty )0*(\d+)(x\d+.*)$/$1$2$3/;
In reply to Re^2: regexp: non-capturing grouping in replacement possible?
by diweooy
in thread regexp: non-capturing grouping in replacement possible?
by diweooy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |