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 13,020 community submitted regex patterns...
0
Find Discord channel
ECMAScript (JavaScript)
Use this regex to find any mention for a channel. # is a mention for a text channel #! is a mention for a voice channel
Submitted by
Olympic1
-
2 years ago
0
Find Discord role
ECMAScript (JavaScript)
Use this regex to find any mention for a role. @& is a mention for a role
Submitted by
Olympic1
-
2 years ago
0
Find Discord user
ECMAScript (JavaScript)
Use this regex to find any mention for an user. @ is a mention for the registered name of an user @! is a mention for the nickname of an user
Submitted by
Olympic1
-
2 years ago
0
if else parser part 1
Java 8
A basic if else parser. It automatically captures the if equation and the result. It supports if, elif, and else statements. Note: for elif statements part 2 is required. This is because Regex can't use one group to capture multiple elif statements. Part 2 can be found here
Submitted by
Rubeste
-
2 years ago
0
if else parser part 2
Java 8
This is part 2 of my if else parser. Part 2 is only needed for elif statements. Note: From the elif result from part 1 add a #end to close the statement. I might change it a bit in the future so this isn't needed. ...
Submitted by
Rubeste
-
2 years ago
0
Any domain finder
ECMAScript (JavaScript)
This regex made by me, finds any domain which contains https:// or the unsafe version, http://.
Submitted by
Rix The Regex Maker
-
2 years ago
0
Parse ping results
ECMAScript (JavaScript)
Parse the result of a ping, line by line
Submitted by
Heydok
-
2 years ago
(Last modified 2 years ago)
0
parse chemical formula
ECMAScript (JavaScript)
formulacharge)
Submitted by
anonymous
-
2 years ago
0
ISO 3166-1 alpha-3
Java 8
ISO 3166-1 alpha-3 countries for validation
Submitted by
anonymous
-
2 years ago
0
single line possibly comma delimited list and end of list
ECMAScript (JavaScript)
for react props
Submitted by
Zach Hardesty
-
2 years ago
0
Mobile Phone Number with code
ECMAScript (JavaScript)
Admite un numero de telefono con su codigo de area
Submitted by
macorreag
-
2 years ago
0
assoc_ff_solucao
PCRE (PHP <7.3)
identifies ff in assoc
Submitted by
anonymous
-
2 years ago
0
English/Hebrew Text (no numbers)
ECMAScript (JavaScript)
Detects English & Hebrew text, but no numbers. Number detection could easily be added, as well as many other configurations. The main point here is that \p{Hebrew} is a very pretty way to include Hebrew characters.
Submitted by
MegaSpaceHamlet
-
2 years ago
0
Parse number and street from street address
ECMAScript (JavaScript)
Uses ECMAScript to parse the number and street from a street address.
Submitted by
Wiktor Stribiżew
-
2 years ago
0
Strip Azure Devops merge commit for fit changelog
PCRE (PHP <7.3)
Using the right headerPattern that can correctly parse either the merge message or the commit message I was able to workaround the issue
Submitted by
anonymous
-
2 years ago
0
Godot REPL Plugin - (String Literal) Load Expression
ECMAScript (JavaScript)
Loose matching of load statements, capturing the path parameter in the path capture group. load('./scene.tscn') load('path/to/resource.tres') load("path/to/file.gd") `
Submitted by
disk0__
-
2 years ago
0
instagram regex url get shortcode all type url
PCRE (PHP <7.3)
Get shortcode from all type instagram url group 1 for username group 2 for p group 3 for reel group 4 for tv...
Submitted by
anubiskun
-
2 years ago
0
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
2 years ago
0
css filter property
ECMAScript (JavaScript)
Extracting functions from filter css property https://developer.mozilla.org/en-US/docs/Web/CSS/filter
Submitted by
Roko
-
2 years ago
0
Cloudwatch Insights ENI Flow Logs
ECMAScript (JavaScript)
This will pull out the source, destination IP addresses and the destination port from a default ENI flow log entry.
Submitted by
Abram Flansburg
-
2 years ago
(Last modified 2 years ago)
1
...
618
619
620
621
622
...
651
Roman numbers
-2
Regular Expression
ECMAScript (JavaScript)
/
^
(?!
$
)
M
{0,2}
(?:
M
(?=
CM
(?:
XC
)?
(?:
IX
)?
$
)
)?
(?:
C
(?=
M
[^
CD
]
*
(?:
XC
)?
[^
CD
]
*
$
)
)?
M
?
(?:
C
(?=
D
[^
C
]
*
(?:
XC
)?
[^
C
]
*
$
)
)?
D
?
C
{0,2}
(?:
C
(?=
XC
(?:
IX
)?
$
)
)?
(?:
X
(?=
C
[^
X
]
*
(?:
IX
)?
[^
X
]
*
$
)
(?!
.
*
L
)
)?
C
?
(?:
X
(?=
L
[^
X
]
*
(?:
IX
)?
[^
X
]
*
$
)
)?
L
?
X
{0,2}
(?:
X
(?=
IX
$
)
)?
(?:
I
(?=
[
XV
]
$
)
)?
X
?
V
?
I
{0,3}
$
/
Open regex in editor
Description
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-
9 years ago