in reply to
Storing Substitution Output String
1. use non-greedy regexp: (.*?) instead of (.*)
2. add "s" modifier to end of string to include possible newlines
Courage, the Cowardly Dog
Comment on
Re: Storing Substitution Output String
In Section
Seekers of Perl Wisdom