Remove HTML

Posted by @hinnerkhaardt, Last update about 1 year ago

Removes HTML tags from text.

Warning: Based on a simple Regexp, might not work as expected, i.e. remove the wrong part, not remove anything or even mess up everything beyond recognition.


  • script

    draft.content = draft.content.replace(/<\/?[^>]+(>|$)/g, "");


  • After Success Nothing
    Notification Info
    Log Level Info
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.