Go back to RegexSwap.

IPv4 address

Try it out on these example inputs:

Regular expression:

\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b

Categories:

numbers internet computers

Popularity:

You need to be logged in to cast votes on regexes.

Good
2
Bad
0

Author description and comments (0)

Topic by
kasper

2009-01-05
23:22

Description

Validates an IPv4 address

You need to be logged in to participate

In order to post your own comments on this regex, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen

Username:

Password:

Requested username:

Password:

Real name:

Email address:

Title:

Company:

Country: