Remove HTML

How to remove HTML from input

As the title says it removes HTML from the incoming data and is performed with striptags.

Settings

Allowed tags (optional)

Tags, that should not be removed from the input.

Replacement pattern (optional)

Pattern that should be replaced instead of the removed tag. (default: '')

Examples

Before

After

<h1>Input string</h1>

Input String

<a href="https://www.test.com">test.com</a>

test.com

Last updated