How to detect if a number between a coma (.) is >= 0 and <= 255?

前端 未结 0 1067
暗喜
暗喜 2020-11-29 23:32

it\'s for detecting ipv4 adressess for instance: 255.255.1.0 = true 277.255.1.0 = false because 277 is higher than 255 how do i detect this on every number seperated by coma

相关标签:
回答
  • 消灭零回复
提交回复
热议问题