Skip to content

Tag: regex

Validate IP address with JS & regex

This is just a simple JavaScript function with some regex used to validate an IP Address format. Used this on ServiceNow instances and before that as a PowerShell function on Microsoft environments. Example of usage (wrong ip format) Example of usage (correct ip format)

© 2020 Tech[Net] | Crafted with ♥ by Morten & rollin' on Author