Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 320 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
a month ago
2023-10-18 07:16
(Last modified a month ago)
2023-10-26 14:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple URL validation
.NET (C#)
Validates protocol, sub-domain, domain, and top-level domain. No port number and query string parameters validation is made.
Submitted by
anonymous
-
a month ago
2023-10-27 11:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Initializing identifiers
.NET (C#)
Initializing identifiers
Submitted by
anonymous
-
25 days ago
2023-11-04 12:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
15 days ago
2023-11-14 09:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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>
-
14 days ago
2023-11-15 10:54
(Last modified 14 days ago)
2023-11-15 17:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
9 days ago
2023-11-20 15:18
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
2014-12-07 08:25
(Last modified 4 months ago)
2023-07-21 11:48
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
7 years ago
2016-06-22 06:56
(Last modified 4 months ago)
2023-07-20 08:08
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Analyze movie and series episode torrent name
Java 8
Analyze whether the torrent name is a Movie or TV Episode Inspired from https://regex101.com/library/yP4bY4 There is two versions, see differences at the bottom Groups:...
Submitted by
Hot Priest
-
a year ago
2023-01-09 15:47
(Last modified a year ago)
2023-01-09 15:48
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
IPv4 Matcher
Java 8
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
-
3 years ago
2021-03-24 16:23
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
MMM DDD YYYY
.NET (C#)
FEB MON 2023
Submitted by
anonymous
-
10 months ago
2023-02-06 12:42
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Dart relative import
Java 8
find dart relative import path
Submitted by
sagarpanchal
-
5 months ago
2023-07-11 13:37
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
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
-
4 months ago
2023-07-17 08:05
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Parsing result of SQL Server version (SELECT @@VERSION)
.NET (C#)
Parses MS SQL Server version returned from executing SELECT @@version
Submitted by
M Rivas
-
9 months ago
2023-02-15 21:12
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Ascending and Descending order
Java 8
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
4 months ago
2023-07-17 15:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fund - Arriving in Kathmandu
Java 8
Simple regex for Softuni
Submitted by
anonymous
-
3 years ago
2021-04-02 11:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
笔试
Java 8
笔试字符串检查regex
Submitted by
bgst009
-
3 years ago
2021-04-04 13:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Alien Registration Number
Java 8
Alien Registration Number
Submitted by
anonymous
-
3 years ago
2021-04-19 23:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
({( ?){ ( ?)(.*) ( ?)}( ?)})
Java 8
{ { I\'m so {cool}, I\'m nested }} I\'m neither { I\'m just boring normal braces }
Submitted by
anonymous
-
3 years ago
2021-05-01 13:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OmegaT exercise: separators in figures (en -> es)
Java 8
Replace thousand and decimal separators
Submitted by
anonymous
-
3 years ago
2021-05-09 18:18
1
2
3
4
5
6
7
...
16
Enum map to test cases
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
[
\t
]
*
(
[
\w
.
]
+
)
=>
(
[
\w
.
]
+
)
[
,
]
*
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
DenKu1
-
a year ago
2022-11-16 15:23