I want to convert below html string into recommended whatsapp message format using javascript
let htmlText = '<b>TEST </b> BODY <i><b>WITH </b></i>SAMPLE <strike style="font-weight: bold; font-style: italic;">FORMAT </strike> HERE"';
into below format
*TEST* BODY _*WITH *_ SAMPLE *_~FORMAT~_* HERE