Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 9,540 community submitted regex patterns...
0
Unity Rich Text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
username regex
PCRE (PHP <7.3)
alphabetic small and capital numeric 0-9 may contain underscore must be at least 3 characters cannot be longer than 30 characters
Submitted by
anonymous
-
6 years ago
0
Phone number library
PCRE (PHP <7.3)
Number must start from + and end with a number. Number can be 7 to 15 digit long including + sign in length. Starting with + and leading 0 is not allowed.
Submitted by
anonymous
-
6 years ago
0
Time Tester
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
gitlab-push-rules-prohibited-file-names-regex
Golang
GitLab Push Rules Citation Push rules are essentially pre-receive Git hooks that are easy to enable in a user-friendly interface. They are defined globally if you are an admin or per project so you can have different rules applied to different projects depending on your needs. 1...
Submitted by
gregswindle
-
6 years ago
0
手机号
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
regex-testdata
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Exclude anything between <> brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Float
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
chars before _
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
MCS_RPDSA_FROM_TO_REGEX
PCRE (PHP <7.3)
break out FROM and TO device data using capturing groups
Submitted by
anonymous
-
6 years ago
0
MCS_RPDS_TO_HEADER_REGEX
PCRE (PHP <7.3)
Extract Header Information
Submitted by
anonymous
-
6 years ago
0
Addresses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Match string not containing string
PCRE (PHP <7.3)
^((?!anyword).)*$
Submitted by
anonymous
-
6 years ago
0
Account Tagging - target
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
xt2169Updated
PCRE (PHP <7.3)
updated 3-6-19 (before new firmware but after initial testing) updated 5-6-19 heading now can understand decimal value
Submitted by
anonymous
-
6 years ago
0
Edit nth column of CSV
PCRE (PHP <7.3)
Change 3 to n - 1 to edit the nth column. Other minor modifications needed to edit the first or last column.
Submitted by
Justin Hampton
-
6 years ago
0
match empty line in multiline mode
PCRE (PHP <7.3)
Doesn't match tabs or spaces
Submitted by
anonymous
-
6 years ago
0
host and port regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
key value
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
118
119
120
121
122
...
477
Community Library Entry
3
Regular Expression
Golang
`
(?i)
^
(?:
(
[
a
-
z0
-
9-
]
+
|
\*
)
\.
)?
(
[
a
-
z0
-
9-
]
{1,61}
)
\.
(
[
a
-
z0
-
9
]
{2,7}
)
$
`
gm
Open regex in editor
Description
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago