Allow maximum 30 IP addresses and no special characters except ','

Ankita9793
Tera Contributor

Hi All,

 

Can someone please help me with IP address validation, Should be valid IP format, should not allow and spaces and special characters other than ',' and allow maximum 30 IP addresses.

Valid IP address formats are as below... 
Single IP --> 10.1.1.10
Multiple IPs --> 10.0.0.10,10.0.0.11,10.0.0.12,10.1.1.10

Thanks in advance!!

1 REPLY 1

Abbas_5
Tera Sage
Tera Sage

Hello @Ankita9793,

Please refer to the below link:

https://www.servicenow.com/community/developer-forum/need-regular-expression-for-30-character-limit-...

 

Mark my correct and helpful, if it is helpful and please hit the thumbs-up button to mark it as the correct solution.
Thanks & Regards,
Abbas Shaik