/ Published in: Smarty
This will replace p tag and all attributes strings with an empty string.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
{$text|regex_replace:"/(<p>|<p [^>]*>|<\\/p>)/":""}