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 18,020 community submitted regex patterns...
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
eeriryah
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
ark
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Matching Start and End
ECMAScript (JavaScript)
Task You have a test string S. Your task is to match the pattern Xxxxx. Here, x denotes a word character, and X denotes a digit. S must start with an X digit and end with '.' symbol. S should be 6 characters long only.
Submitted by
anonymous
-
6 years ago
0
Account Tagging - target
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Ta Creation Date
ECMAScript (JavaScript)
Trafikstyring S-bane den 5. marts 2019 Extracts the date from a sting like the one above
Submitted by
anonymous
-
6 years ago
0
Match string not containing string
PCRE (PHP <7.3)
^((?!anyword).)*$
Submitted by
anonymous
-
6 years ago
0
Addresses
PCRE (PHP <7.3)
no description available
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
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
em Prokopenko
Python
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
doi
Python
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
Exclude anything between <> brackets
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
手机号
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
Get the first 2 terms in path using forward slash.
PCRE (PHP <7.3)
At first the objective was to get the string between the first and third slash but, re-working the problem, it was simpler to retrieve the first word between slashes and a subsequent word.
Submitted by
anonymous
-
6 years ago
0
Request any file names endings with `_lang.js`
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
1
...
455
456
457
458
459
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
[
a
-
zA
-
Z0
-
9_[
\]
]
+
)
\s
?
(
(
=
|
<
|
>
|
<=
|
>=
)
=
?
)
\s
?
(
[
-+
]
?
(
[
0
-
9
]
*
\.
[
0
-
9
]
+
|
[
0
-
9
]
+
)
)
\s
?
\(
?
(
\w
*
)
\)
?
\s
?
(
[
-+±
\s
]
*
?
(
[
0
-
9
]
*
\.
[
0
-
9
]
+
|
[
0
-
9
]
+
)
\s
?
[
a
-
zA
-
Z
]
*
)?
\s
?
(
in
|
for
)?
\s
?
(
[
0
-
9
]
*
\.
[
0
-
9
]
+
|
[
0
-
9
]
+
)?
(
s
|
ms
|
min
|
us
)?
(
\s
for
|
\s
in
)?
\s
?
(
[
0
-
9
]
*
\.
[
0
-
9
]
+
|
[
0
-
9
]
+
)?
(
s
|
ms
|
min
|
us
)?
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago