This node was taken out by the NodeReaper on Mon May 30 14:55:35 2005 (EST)

For more information on this node visit: this

Replies are listed 'Best First'.
Re: Regexp help, multiple lines
by Drewpy (Initiate) on Sep 07, 2004 at 04:06 UTC
    $string = qq!Paragraph One Paragraph Two Paragraph Three!; my $return = "[\r\n]"; my ($paragraph_two) = $string =~ m/.+$return(.+)$return.+/i; print $paragraph_two;
    Output:
    Paragraph Two
    This was done fast, but is this along the lines of what you are on about ?