radekc has asked for the wisdom of the Perl Monks concerning the following question:
Letter A = "AAA" Letter B = "BBB" perl -p -e 's/(Letter A \=)(.*\")(\n+)(Letter B \=)/$1$2$3$4/g' text
How can group these words? Seems the problem is after \n
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can group these strings
by JavaFan (Canon) on Apr 24, 2012 at 07:17 UTC | |
|
Re: How can group these strings
by Anonymous Monk on Apr 24, 2012 at 06:40 UTC | |
by arasu (Initiate) on Apr 24, 2012 at 09:16 UTC | |
|
Re: How can group these strings
by 2teez (Vicar) on Apr 25, 2012 at 02:04 UTC |