Regular Expressions 101

Community Patterns

1...34567...130

Get ip address (only ipv4) Validator

2

Regular Expression
.NET 7.0 (C#)

@"
(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)
"
gmi

Description

Get ip address (only ipv4) Validator

Submitted by Mr.Tang - a year ago (Last modified a year ago)