my $str = 'hello kitty 003x009 spanish'; $str =~ s/0*(3)/$1/; print $str;
In reply to Re: regexp: non-capturing grouping in replacement possible?
by biohisham
in thread regexp: non-capturing grouping in replacement possible?
by diweooy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |