SyntaxFix
Write A Post
Hire A Developer
Questions
/<\/?[^>]*>/.test(str) Only detect whether it contains html tags, may be a xml
/<\/?[^>]*>/.test(str)