RegEX to validate multiple IP Range and multiple IP Subnets

Ankita9793
Tera Contributor

Hi all,

 

Can someone please help me with Regex to validate multiple IP ranges and IP Subnets.


Example : 

IP range --> 10.0.0.10-10.0.0.100,10.0.0.10-10.0.0.100
IP subnet --> 10.0.0.10/32,10.0.0.10/32

TIA!!

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Ankita9793 

check this link and enhance your logic, it's an old blog from my side

IP Address Validation Client Side 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader