Monday, May 27, 2019

javascript strip html from text

myString.replace(/<(?:.|\n)*?>/gm, '');

No comments:

Post a Comment