in reply to Find text between two strings?

($variable) = $string =~ /foo(.*?)bar/;
--Artist