@php //remove tag $content->pagesHtml[0]->html = preg_replace('/]*>(.*?)<\/body>/is', '$1', $content->pagesHtml[0]->html); @endphp {!! $content->pagesHtml[0]->html !!}