HomeData Sanitizers
Data Sanitizers
Clean inputs and remove whitespace/chars.
14 Tools Available
Trim Start
Removes leading whitespace.
/^\s+/
Trim End
Removes trailing whitespace.
/\s+$/
Strip HTML Tags
Removes HTML tags.
/<[^>]*>/
Remove Scripts
Removes script tags.
/<script\b[^>]*>([\s\S]*?)</script>/
Remove Styles
Removes style tags.
/<style\b[^>]*>([\s\S]*?)</style>/
Remove Comments
Removes HTML comments.
/<!--[\s\S]*?-->/
Remove Non-ASCII
Removes non-ASCII chars.
/[^\x00-\x7F]/
Remove Special Chars
Removes punctuation/symbols.
/[^a-zA-Z0-9\s]/
Duplicate Spaces
Normalizes spaces.
/\s{2,}/
Remove Lines
Removes lines containing match.
/^.*match.*$\n?/
Remove Digits
Removes all numbers.
/\d+/
Remove Letters
Removes all letters.
/[a-zA-Z]+/
Normalize Newlines
Standardizes to \n.
/\r\n|\r/
Remove Emojis
Removes emoji characters.
/[\p{Emoji}]/