Updated Regexer to fix replacement issue.