Objective: To illustrate a code example for sanitizing user input. Usage: Type something into the 'Dirty' textarea, select what to remove, click 'Sanitize!'.

Dirty Input

Remove

Sanitized Output

Code