in reply to Regexp: Only tr second occurance
perl -e'$test="123.0456.0789";$test =~ s/(\.0.*)(.0)/$1/;print "$test\ +n";' ___output___ 123.0456789
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regexp: Only tr second occurance
by tachyon (Chancellor) on Jan 02, 2004 at 13:13 UTC |