CircuitOnline/public/js/utils.js

5 lines
117 B
JavaScript
Raw Normal View History

// To strip tags from input
function stripTags(string="") {
return string.replace(/(<([^>]+)>)/ig, '').trim();
}