Mantis 17249 - Footer not added when </body> tag is not lower-case

Remove inapplicable regex modifiers
Case-insensitive replacement