Separate out html and body regex and change to contentReplaced.