I want to match this line,
\'\'\'No Change Alarms Help & Information
$string_given =~ s/matching expression/sustitution/s;
i think this will work,using the /s modifier, which mnemonically means to "treat string as a single line". This changes the behaviour of "." to match newline characters as well.
In order to match the beginning of this comment to the end, we add the /s modifier like this:
$str =~ s///s;
Without the /s, it wouldn't match at all.