facetwp wp bakery regex for refresh

djrmom

{{gist file=”facet.php” lang=”php”}}
<?php echo wp_trim_words( preg_replace( ‘/[vc_empty_space(s)*(.)*]/’, ‘ ‘, strip_tags( do_shortcode( get_the_content() ) ) ), 20 ); ?>
{{/gist}}