Validating url

validating url-37validating url-21

Validating url

Note It has been suggested that @bi0s.kidd0 There are several libraries that can be used, but we decided to roll our own.

It's not complete, but can parse what we are interested in, including URLs containing either domains or IPs (both v4 and v6).

On this page we will show a few examples of how to validate e-mails, website addresses (URLs) and some other special cases of input data.

» Validate e-mail address There is no way to be 100% sure an e-mail address is actually working unless you send an e-mail there.

The only problem with this approach is that it has a few caveats.

Comments