Internet Functions
/Internet/domain/check/valid
Check validity of Internet domain name. More info here
/Internet/email/check/valid
Check validity of email. More info here
/Internet/email/get/domain
Extract domain name from email. It does not do any validity checks: just extracts the substring after @.
/Internet/email/get/username
Extract user name from email. It does not do any validity checks: just extracts the substring before @.
/Internet/IPAddress/check/valid
Check validity of IP address. More info here
/Internet/URL/check/valid
Check validity of URL. More info here
Extra parameters:
{
"schemes": ["<schema1>", ..., "<schemaN>"],
"allowDoubleSlashes":"true|false",
"allowAllSchemes":"true|false",
"allowLocalURLs":"true|false",
"noFragments":"true|flase"
}- allowDoubleSlashes (Default: false) - Allows double ’/’ characters in the path component.
- noFragments (Default: false) - By default fragments are allowed, if this option is included then fragments are flagged as illegal.
- allowAllSchemes (default: false) - By default only http, https, and ftp are considered valid schemes. Enabling this option will let any scheme pass validation.
- schemes - list valid schemes
/internet/URL/get/domain
Extract domain from URL.
Extra parameters:
{"removeFirstSubdomain": ["<subdomain name>", ..., "<subdomain name>"]}- removeFirstSubdomain - Array of subdomain names to remove if found. For example,
["www"].
Last updated on