chintak86 has asked for the wisdom of the Perl Monks concerning the following question:
Could anyone help with replacing the following string:
test("test with the following: test("GC_test
using perl regex. I had been trying something as follows with no luck:
s/(test\)"test)/(test\)GC_"test)/g
Please help, going crazy :(
Formatting added by davido
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Replace strings with "("
by Frantz (Monk) on Jan 29, 2005 at 23:43 UTC | |
by chintak86 (Initiate) on Jan 30, 2005 at 00:07 UTC | |
by leriksen (Curate) on Jan 30, 2005 at 03:12 UTC | |
by Frantz (Monk) on Jan 30, 2005 at 00:45 UTC | |
|
Re: Replace strings with "("
by jkeenan1 (Deacon) on Jan 29, 2005 at 23:51 UTC | |
by chintak86 (Initiate) on Jan 30, 2005 at 00:13 UTC | |
by punkish (Priest) on Jan 30, 2005 at 02:15 UTC | |
|
Re: Replace strings with "("
by trammell (Priest) on Jan 30, 2005 at 00:29 UTC | |
|
Re: Replace strings with "("
by gube (Parson) on Jan 30, 2005 at 09:35 UTC | |
|
Re: Replace strings with "("
by ambrus (Abbot) on Jan 30, 2005 at 22:13 UTC |