stuppid_bot

Проверяем IPv4

Jun 22nd, 2013
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. unction isIPv4(value) { return /^((|0|[1-9]\d?|1\d{2}|2[0-4]\d|25[0-5])(\.|$)){4}$/.test(value) }
Advertisement
Add Comment
Please, Sign In to add comment