(Just want to note that I have checked other similar questions to mine but couldn't locate any that didn't use regex and the ones that didn't, didn't seem to work for my situation.)
Given a textarea field where a user can enter multiple IP addresses as a string separated by a comma, using JavaScript, what would be the best means to validate all these comma separated IP addresses, for example:
1.1.1.1,2.2.2.2,3.3.3.,4.4.4.256
I obviously need to test for valid IP ranges as well as the three dots and four numbers.
I would prefer a solution that doesn't use regex.