Update: ok this (even shorter) does not remove the timestamp:perl -lape 's/\S+\s+//&&s/(\d+)/$1>1000?0:$1/ge' filename
perl -pe 's/(?<=\s)(\d+)/$1>1000?0:$1/ge' filename
In reply to Re: String Search/Replace
by sh1tn
in thread String Search/Replace
by crep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |