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

Greetings all,
In the spirit of TIMTOWTDI my suggestion is to use \Q\E.
sub getInfoFromSingleLineMultiLineFile { #args and file opening... while($line = <IFH>){ if($line =~ /\Q$stag\E(.*?)\Q$etag\E/){ push(@wanted_substrings,$1); } } return @wanted_substrings; }
That should get you what you want.

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo