Regular Expressions 101

Community Patterns

107

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago

Match IPv4 Valid

0

Regular Expression
.NET (C#)

@"
\b(\d{1,2}|1\d{2}|2[0-4]\d|25[0-5])\b\.\b(\d{1,2}|1\d{2}|2[0-4]\d|25[0-5])\b\.\b(\d{1,2}|1\d{2}|2[0-4]\d|25[0-5])\b\.\b(\d{1,2}|1\d{2}|2[0-4]\d|25[0-5])\b
"
gm

Description

Loading markdown...
Submitted by anonymous - 8 months ago