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 220 community submitted regex patterns...
1
Parse Address - Prefecture
Java 8
get prefecture from Japanese address
Submitted by
Gary Ascuy
-
a month ago
1
AWS EventBridge Scheduling Expressions
Java 8
This validates AWS EventBridge scheduling expressions using the rate() and cron() formats. It may not catch all invalid expressions, but it should properly validate all valid expressions, as demonstrated in the unit tests. Please let me know if I missed any valid expressions. Originally attempted ...
Submitted by
Evan S Kaufman <evan@evanskaufman.com>
-
a month ago
(Last modified a month ago)
1
IANA Media Type
Java 8
Parses an IANA Media Type value. Doesn't seem to capture repeating parameters, which is a bit of an edge case but valid I think - any suggestions on how to fix would be appreciated.
Submitted by
scottbdr
-
2 months ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
5 months ago
1
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
5 months ago
2
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
5 months ago
(Last modified 5 months ago)
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
5 months ago
1
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
Extract text strings from repeating text fields followed by a suffix
Java 8
This regex expression is useful for extracting only the text string from a value in a column that may contain values from individual rows with repeat strings tagged with a suffix. For example - Row 1: "Sales (#1)", Row 2: "Sales Match (#2)". From the shared examples, this regex will extract the text...
Submitted by
nilotpalc
-
7 months ago
1
CSV
Java 8
Crude CSV regex to split only by characters surrounded by non-whitespace characters. Ignore that it dosen't highlight all of the other commas in the editor. If you select the g regex flag it will properly show here, but not work in Java. Credit to @merosity (Merosity#0135) on Discord!
Submitted by
Merosity, regice202
-
8 months ago
1
Match many cases of 8601
Java 8
This is still a working in progress Need to do Unit Tests and search for more use cases Match partial cases of 8601 such as: missing offset missing time...
Submitted by
jpmand
-
8 months ago
(Last modified 8 months ago)
1
Extract any link or endpoint
Java 8
Extract any link or endpoint from 1- HTML page source 2- HTTP responses 3- JS files Feel free to contact me on Telegram https://t.me/c4ir0 if you:...
Submitted by
Cairo
-
8 months ago
(Last modified 8 months ago)
1
html <Title>
Java 8
htnle
Submitted by
erichologist
-
9 months ago
-2
Ascending and Descending order
Java 8
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
9 months ago
-1
Capturing groups with suffix
Java 8
Capturing the content of column names which are duplicate in nature to extract the actual name and suffix ("right" / "left")
Submitted by
anonymous
-
9 months ago
-1
Dart relative import
Java 8
find dart relative import path
Submitted by
sagarpanchal
-
9 months ago
0
Cover dates from 2009 and older in French format and English
Java 8
Covering Dates starting from year 2009 and older in French and English Some of the valid Dates format April 2nd 2008 April 2 2008 April 02 2008...
Submitted by
Francois-Alexandre Valade-Casaubon
-
10 months ago
0
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
a year ago
0
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
a year ago
0
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
a year ago
1
2
3
...
11
Get video parameters from many video services at once
2
Regular Expression
ECMAScript (JavaScript)
/
(?:
http
(?:
s
)?
:
\/\/
)?
(?:
player
.
|
www
\.
)?
(
facebook
\.
com
|
vimeo
\.
com
|
ebaumsworld
\.
com
|
youtu
(?:
be
\.
com
|
\.
be
|
be
\.
googleapis
\.
com
)
|
liveleak
\.
com
|
break
\.
com
)
\/
(?:
video
\.
php
(?:
\?
v=
)
|
media
\/
embed
\/
|
video
\/
watch
\/
|
video
\/
|
embed
\/
|
watch
\?
v=
|
v
\/
)?
(?:
(?:
view
|
ll_embed
)
\?
)?
(?:
(
f
|
i
)
=
)?
(?:
video
\/
|
(?:
.
*
-
)
)?
(
[
A
-
Za
-
z0
-
9._%-
]
*
)
(?:
\&
\S
+
)?
/
Open regex in editor
Description
supported youtube, vimeo, face liveleak, break, ebaums, facebook support url and iframes
Submitted by
Misthero
-
9 years ago