Complete PHP Filter Reference
The FILTER_SANITIZE_EMAIL filter removes all illegal e-mail characters from a string.
This filter allows all letters, digits and $-_.+!*'{}|^~[]`#%/?@&=
The output of the code will be:
Complete PHP Filter Reference
Your message has been sent to W3Schools.