Skip to content
Snippets Groups Projects
Commit c91fd974 authored by James Page's avatar James Page
Browse files

Add NormalizeEmail and ValidateIPAddress functions

Added function to normalise an email address. Currently setup with the default rules for how some email domains allow plus-addressing and other variations, but we can extend it if we need to.
Added function to validate and clean an IP address.
Added tests for both functions, as well as for StripEmail.
parent 85d6c66d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment