To use any of these snippets:
var prefix = /^yourprefixhere/; // leave the "/^" in the beginning and the "/" at the end | |
output = [{cleaned: {content: input.content.replace(prefix, "")}}]; |
output = [{cleaned: {content: input.content.replace(/<(?:.|\n)*?>/gm, "")}}]; |