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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 6,240 community submitted regex patterns...
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
Replace FOSUserBundle controller attributes to Symfony #[Route] attribute
PCRE2 (PHP >=7.3)
Substitute AbstractFOSRestController Routing attributes by Symfony Routing attribute \#[Route] move HTTP method to methods:[''] and use #[Route] attribute #[Rest\Get('/corbeilles')] #[Rest\Post('/corbeille/restore')] #[Rest\Delete(path: '/chapitres/{id}', requirements: ['id' => '\d+'])]...
Submitted by
anonymous
-
a year ago
1
Finnish SSN (2023 update)
ECMAScript (JavaScript)
Finnish SSN that supports the new intermediate characters that were added on 1.1.2023. Source for the new intermediate characters: https://dvv.fi/hetu-uudistus (in Finnish) https://dvv.fi/en/reform-of-personal-identity-code (in English)
Submitted by
mpeltola
-
a year ago
1
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
a year ago
1
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
a year ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
a year ago
1
Conventional Commits for commitcheck.com
PCRE2 (PHP >=7.3)
Conventional Commits is a specification for adding human and machine readable meaning to commit messages. CommitCheck is a GitHub app that ensures commit messages, PR titles and PR descriptions are consistent and contain required information. However, CommitCheck supports only ruby regular express...
Submitted by
https://github.com/CCXXXI
-
a year ago
1
SMMRaja Mass Order
PCRE2 (PHP >=7.3)
Regex for easily mass-ordering from SMMRaja
Submitted by
anonymous
-
a year ago
1
BadDomainNamesDetected
PCRE2 (PHP >=7.3)
/hostname=(?P\".*\")/gm
Submitted by
KC.G
-
a year ago
1
I select (.*) and generate Print Statement for \"(.*?)\" with \"(.*?)\"?$
PCRE2 (PHP >=7.3)
I select (.) and generate Print Statement for \"(.?)\" with \"(.*?)\"?$
Submitted by
anonymous
-
a year ago
1
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
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
phones
ECMAScript (JavaScript)
Разбирает список телефонов, разделенных ;
Submitted by
Alex
-
a year ago
1
shopee live video
PCRE2 (PHP >=7.3)
regex for shopee live video
Submitted by
lavi
-
a year ago
1
shopee share link from mobile
PCRE2 (PHP >=7.3)
regex for shopee share link in mobile app
Submitted by
lavi
-
a year ago
1
shopee video
PCRE2 (PHP >=7.3)
regex for share shopee video from mobile app
Submitted by
lavi
-
a year ago
1
shopee url from desktop browser
PCRE2 (PHP >=7.3)
regex for shopee url from desktop browser
Submitted by
lavi
-
a year ago
1
lazada product desktop
PCRE2 (PHP >=7.3)
lazada url product desktop
Submitted by
lavi
-
a year ago
1
lazada campaign
PCRE2 (PHP >=7.3)
regex lazada campaign url
Submitted by
lavi
-
a year ago
1
lazada share mobile url
PCRE2 (PHP >=7.3)
regex for lazada share link from mobile apps
Submitted by
lavi
-
a year ago
1
...
77
78
79
80
81
...
312
Busca y captura tipo de persona jurídica en razón social
0
Regular Expression
ECMAScript (JavaScript)
/
\s
(
L
.
?
T
.
?
D
.
?
A
.
?
|
E
.
?
I
.
?
R
.
?
L
.
?
|
S
.
?
P
.
?
A
.
?
)
|
(
LI
?
MI
?
T
[
DA
]
{0,3}
)
|
(
S
[
\.
\s
]
{0,2}
?
A
\.
?
)
$
/
gmi
Open regex in editor
Description
Busca y captura tipo de persona jurídica en razón social
Submitted by
anonymous
-
8 years ago