Updated footer removal to regex.

Regex handles changes better.