Answers for "remove new line with break tag using js"

0

remove line break javascript

<script type="text/javascript">
    var get_banner_detail = `<?php echo json_encode($get_banner_detail); ?>`;

    exam = get_banner_detail.replaceAll(/(\r\n|\n|\r)/gm, '<br>');
</script>
Posted by: Guest on August-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language