Regex IP validation

I was just doing some validation for a WOL application I’m making and needed to verify the IP was correct, here’s my approach. I’m wondering if it could be any shorter / more efficient?



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: