Short? How about this?
s/^(30\.00).*? /$1.00.00 /;
UPDATE: Added the missing space in the "replace" bit.
In reply to Re^4: Shortest way to replace a string
by hdb
in thread Shortest way to replace a string
by nikfr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |