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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 11,520 community submitted regex patterns...
1
ip port proxy scrap
PCRE (PHP <7.3)
1.0.170.50:80 1.1.189.58:8080 1.1.220.100:8080 1.2.252.65:8080 1.20.166.142:8080 1.32.59.217:47045...
Submitted by
anonymous
-
2 years ago
1
surnames
Python
italian uppercase surnames
Submitted by
anonymous
-
2 years ago
1
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
2 years ago
1
Only letters, accents and space
Python
Regex that catches everything that is not text (including emotes)
Submitted by
https://www.linkedin.com/in/devfabriciors/
-
2 years ago
1
phone number middle number parsing
Java 8
middle number parsing regex
Submitted by
anonymous
-
2 years ago
1
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
2 years ago
(Last modified 2 years ago)
1
Group first letter, Group Remaining letters, Group White space
PCRE (PHP <7.3)
first groups all white space $1 second groups all first letter of every word except capitals third groups remaining letters
Submitted by
slimelord
-
2 years ago
1
Only if before
PCRE (PHP <7.3)
Only if needle is before target
Submitted by
anonymous
-
a year ago
1
Conventional Commits RegEx
Python
This RegEx can be used to check whether a string (usually a commit message) matches the structure specified in the conventional commits specification and it allows to retrieve the sections of the structure via. named groups. The groups are the following: (? means, that this can be empty/nullable) ...
Submitted by
mccoderpy
-
a year ago
1
Secret HTML Comment
PCRE (PHP <7.3)
This REGEX can be used for, e.g., PHP scripts to filter out comments that are only important for development.
Submitted by
anonymous
-
a year ago
1
IPv4
Python
| Regex | Number | | :----------: | :-----------: | | 1?[1-9]?\d | 0-99, 110-199 | | 12\d | 100-149, 200-249 | | 25[0-5] | 250-255 | ...
Submitted by
MicroMicrocosm
-
a year ago
1
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
a year ago
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
a year ago
1
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
a year ago
(Last modified a year ago)
1
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
a year ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
a year ago
1
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Java 8
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
a year ago
1
all instagram regex
PCRE (PHP <7.3)
(?:https?:\/\/)?(?:www.)?instagram.com\/?([a-zA-Z0-9\.\\-]+)?\/([p]+)?([reel]+)?([tv]+)?([stories]+)?\/([a-zA-Z0-9\-\\.]+)\/?([0-9]+)?
Submitted by
threedot
-
a year ago
1
ENEL T5 Mono
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
a year ago
1
Get <NIC>
Python
Get NICs from string
Submitted by
anonymous
-
a year ago
1
...
543
544
545
546
547
...
576
Get Nth value (3 times)
3
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
.
{2}
(
.
)
)
(?=
.
{5}
(
.
)
)
(?=
.
{7}
(
.
)
)
/
Open regex in editor
Description
capture Nth character from string, 3 times
Submitted by
K.
-
11 years ago