DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+4 =
Submit