Validate IP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 04:36 AM - edited 01-09-2024 04:52 AM
Hi All,
Can someone please help me with IP address validation Regex, maximum length allowed is 30, should not accept special characters including( "/" and "-" ). Should allow '" , " to enter multiple IPs.
Valid IP address formats example
Single IP --> 10.1.1.10
Multiple IPs --> 10.0.0.10,10.0.0.11,10.0.0.12
TIA!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 04:52 AM
Duplicate Question, I have answered this on the other thread here -> Validate IP Address format - ServiceNow Community
Check this out
Validate IP Address Using Regex : A Great use of... - ServiceNow Community
You can put the multiple IPs in an array and validate it as shown in the Blog