Regular Expressions 101

Community Patterns

Community Library Entry

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 - 2 years ago (Last modified 2 years ago)