http://qs1969.pair.com?node_id=496430


in reply to Regular Expression problem when Extracting Start\ VALUE \End

Why not just make sure the string is a single line (say with split) then use extract_tagged from Text::Balanced. Unless you are just trying to teach yourself regexes, this module is ideal.

Phil