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,000 community submitted regex patterns...
0
em Prokopenko
Python
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
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
Account Tagging - target
PCRE (PHP <7.3)
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
eeriryah
ECMAScript (JavaScript)
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
-
5 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
0
iFiske CORS
PCRE (PHP <7.3)
Ska matcha subdomäner av ifiske.se Ska matcha ifiske://vadsomhelst Ska matcha localhost Ska matcha alla portar
Submitted by
anonymous
-
6 years ago
0
CRÉATION DE VARIABLE
PCRE (PHP <7.3)
Pour définir des variables en début de REGEX et les appeler par la suite
Submitted by
anonymous
-
6 years ago
0
ACCEPT
PCRE (PHP <7.3)
Permet de stopper la recherche si un caractère est trouvé. Ici ça trouve BAZ puis BO en s'arretant à O sans chercher le Z après puis Recommence à chercher et trouve BIZ
Submitted by
anonymous
-
6 years ago
0
Palindrome
PCRE (PHP <7.3)
Permet de stopper la recherche si un caractère est trouvé. Ici ça trouve BAZ puis BO en s'arretant à O sans chercher le Z après puis Recommence à chercher et trouve BIZ
Submitted by
anonymous
-
6 years ago
0
Regex for ssn
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex for email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
222
223
224
225
226
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\/
?
(
\b
|
\/
32
)
/
g
Open regex in editor
Description
Match IPv4 address, optionally with /32 CIDR notation
Submitted by
anonymous
-
7 years ago