in reply to how to modify the text in file
in thread ho w to replace a occurence of string by other string
What have you tried? Show us some code...
If you tried
you might considers[\w\w\w1\.data][$testname/]g
instead.s[(\w\w\w1\.data)][$testname/$1]g
The $1 stands for the text enclosed in the first set of round brackets in the pattern.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to modify the text in file
by sachin_chat (Initiate) on Jan 19, 2005 at 07:19 UTC | |
by dse (Novice) on Jan 19, 2005 at 07:31 UTC | |
by Thilosophy (Curate) on Jan 19, 2005 at 07:30 UTC |