Sanitize string input.
f(string $text, $accent = true, string $excludes = "");
This function does the following tasks:
- Remove HTML tags and character references.
- Remove anything except the characters that listed in
- Convert multiple white-space to a single space.
- Replace accents to their voice if
This function does not do the following tasks:
- Trim white-spaces at the start and end of the string.