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 220 community submitted regex patterns...
0
Extract (4.) Switch port state test values by columns
Java 8
adminl2j@child-ex2300-24t> show interfaces ge-0/0/0 terse Interface Admin Link Proto Local Remote ge-0/0/0 up up ge-0/0/0.0 up up eth-switch
Submitted by
Dobri
-
3 years ago
0
Multi Line Copy Right Header
Java 8
Matches a copyright header in a Java-esque multi line comment
Submitted by
PhiSe
-
3 years ago
0
releaes-jdk
Java 8
parse jdk version source
Submitted by
youliang.feng
-
3 years ago
0
Regex para extraer nombres de subreddits
Java 8
Ver
Submitted by
@atnbueno
-
3 years ago
(Last modified 3 years ago)
0
Lua Comment RegEx
Java 8
matches lua comments
Submitted by
Fiereu
-
3 years ago
0
acepta solo consonantes pero solo va en java
Java 8
select consonants but only do work in java ...
Submitted by
anonymous
-
3 years ago
0
fdsf
Java 8
sdf
Submitted by
anonymous
-
3 years ago
0
id card
Java 8
打断点
Submitted by
anonymous
-
3 years ago
0
Function parameter selection
Java 8
Allows to select multiple type of parameters for them to be handled differently. The regex can get strings ( "example string" ), variable name of boolean value ( name or true or false ) or integers and doubles ( 5 or 4.5 ). The variables names and boolean values have to be checked in the program u...
Submitted by
anonymous
-
3 years ago
0
Mpe
Java 8
coda test
Submitted by
anonymous
-
3 years ago
0
Match CLI argument to
Java 8
Matches argumetn to as: -t to -t= ...
Submitted by
rperez-torro
-
3 years ago
0
java-test1
Java 8
java test string
Submitted by
anonymous
-
3 years ago
0
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
3 years ago
0
Remove duplicate lines in sorted text
Java 8
See
Submitted by
@atnbueno
-
3 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
-
3 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
-
3 years ago
0
ISO 3166-1 alpha-3
Java 8
ISO 3166-1 alpha-3 countries for validation
Submitted by
anonymous
-
3 years ago
0
Verificar caracter repetido
Java 8
Verificar caracter repetido
Submitted by
anonymous
-
3 years ago
0
Match any pattern abc.def.***.uvw.xyz hackerRank
Java 8
This regex matches any pattern like in the title. HackerRank challenge modified.
Submitted by
anonymous
-
2 years ago
0
OS正则表达式
Java 8
zzx
Submitted by
zzx
-
2 years ago
1
...
4
5
6
7
8
...
11
youtube url match
5
Regular Expression
ECMAScript (JavaScript)
/
(?:
https
?
:
\/\/
)?
(?:
www
\.
)?
(?:
youtu
\.
be
\/
|
youtube
\.
com
\/
(?:
embed
\/
|
v
\/
|
playlist
\?
|
watch
\?
v=
|
watch
\?
.
+
(?:
&
|
&
)
;v=
)
)
(
[
a
-
zA
-
Z0
-
9
\-
_
]
{11}
)?
(?:
(?:
\?
|
&
|
&
)
index=
(
(?:
\d
){1,3}
)
)?
(?:
(?:
\?
|
&
|
&
)?
list=
(
[
a
-
zA
-
Z
\-
_0
-
9
]
{34}
)
)?
(?:
\S
+
)?
/
g
Open regex in editor
Description
extract video id, index, play list id from youtube URL
Submitted by
anonymous
-
9 years ago