Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex for ipv4

let isIpv4Valid = ipStr.match('/((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(.|$)){4}/ig')
 
PREVIOUS NEXT
Tagged: #regex
ADD COMMENT
Topic
Name
7+8 =