JSFiddle - React, Tailwind, and code Playground
JavaScript
var content = "<p>Dear sms,</p><p>This is a test notification for push message from center II.</p>";
var withoutP = $(content).text()
alert(withoutP )
var content = "<p>Dear sms,</p><p>This is a test notification for push message from center II.</p>";
var withoutP = $(content).text()
alert(withoutP )