perl -pe 's:(\w+\.data)\b:testname/$1:g' <input >output
In reply to Re: ho w to replace a occurence of string by other string
by borisz
in thread ho w to replace a occurence of string by other string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |