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,040 community submitted regex patterns...
2
multiple sql like expressions
PCRE (PHP <7.3)
no description available
Submitted by
robessog
-
8 years ago
2
search for a regex excluding a word
PCRE (PHP <7.3)
^((?!proposed_).)*((project|task)_details) matches: project_details task_details...
Submitted by
aymon
-
8 years ago
2
Delete Blank Lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
IPv6 detection
Python
It's too large to match with all which seems like an IPv6. It's not perfect, but it's detects more valid IPv6 than some others regex.
Submitted by
Ajabep
-
8 years ago
2
Matches human genomic coordinates
PCRE (PHP <7.3)
This expression matches human genomic coordinates, similat to those being used by genome browsers (e.g. the UCSC Genome Browser). It can match: chromosome, chromosome start, chromosome start end, chromosome start end reference sequence, chromosome start end reference sequence alternative sequence. T...
Submitted by
Panagiotis Moulos
-
8 years ago
2
Escape regex meta characters
ECMAScript (JavaScript)
This expression escapes characters, which have a special meaning in regex, like .?[]/ and so on. Use it to transform a string that you want to use literally in another regex.
Submitted by
Florian Andresen
-
8 years ago
2
Console arguments handling
PCRE (PHP <7.3)
Splitting string on parts. Able quoted strings and escaped chars. Without optimizations. command arg1 "string arg \"qoute\" demo" arg3
Submitted by
anonymous
-
8 years ago
2
match HTML-safe strings with at least one alphanumeric character
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
Email combo to username combo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
negative lookahead
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Find IP
PCRE (PHP <7.3)
Regex to match an IPv4 address at beginning
Submitted by
edoz90
-
8 years ago
2
URL MATCH
PCRE (PHP <7.3)
URL MATCH
Submitted by
activesatan
-
8 years ago
2
Number or Range
ECMAScript (JavaScript)
Allows either a number (e.g. "1", "1.01") or a range (e.g. "1-2", "1.0 - 1.3"). Also allows whitespace on either side of the numbers.
Submitted by
Mark Newcomb
-
8 years ago
2
.*(\d+).* Selects last number
Python
no description available
Submitted by
anonymous
-
8 years ago
2
Test numeric input to be between 0,01 and 100,00
ECMAScript (JavaScript)
Tests a numeric input to be between 0,00 < input <= 100,00. Decimals are optional but have at max 2 places.
Submitted by
Torsten Walter
-
8 years ago
2
Regex Shortcode
PCRE (PHP <7.3)
Check shortcode
Submitted by
khiconit
-
8 years ago
2
IP Address
PCRE (PHP <7.3)
IPv4 Address Input
Submitted by
anonymous
-
8 years ago
2
Eircode
PCRE (PHP <7.3)
Eircode validation for new postcodes identifiers in Republic of Ireland. Case-insensetive for easier user input. Added optional space separator to follow same pattern as in UK post codes and in examples used in eircode spec.
Submitted by
Arek Jaworski
-
8 years ago
2
Match multiline comments /* ... */
PCRE (PHP <7.3)
It won't match single line comments like this one: //* This comment won't be match */ ^ see the double / Works in PHP without the g modifier.
Submitted by
SimonaHalep
-
8 years ago
2
CSS @media selector
ECMAScript (JavaScript)
Matches a CSS @media selector, matches outer {} curly brackets, works with every CSS code, minified too.
Submitted by
emd4
-
8 years ago
1
...
874
875
876
877
878
...
902
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(
[
0
-
9
]
{1,2}
)
\/
(
[
0
-
9
]
{1,2}
)
\/
(
[
0
-
9
]
{4}
)
\s
(
[
0
-
9
]
{1,2}
)
:
(
[
0
-
9
]
{1,2}
)
\s
(
[
0
-
9
]
{1,2}
)
:
(
[
0
-
9
]
{1,2}
)
\s
(
[
A
-
Za
-
z
]
+
)
\s
(
[
A
-
Za
-
z
]
+
)
\s
(
[
A
-
Z
]
{2}
)
\-
(
[
0
-
9
]
+
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago