Regular Expressions 101

Community Patterns

4

CloudFlare

PCRE2 (PHP >=7.3)
Cloud Flare
Submitted by anonymous - 3 years ago
4

Email

PCRE2 (PHP >=7.3)
email format control
Submitted by ahmetbarut - 3 years ago
3

example

PCRE2 (PHP >=7.3)
example
Submitted by anonymous - 3 years ago
2

object

PCRE2 (PHP >=7.3)
Json Object
Submitted by anonymous - 3 years ago

Ipv4 with optional port

0

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]?)(?::(\d|[1-9]\d{1,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5]))?$
"

Description

Loading markdown...
Submitted by anonymous - 2 years ago