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 220 community submitted regex patterns...
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
-
15 days ago
2023-11-20 15:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
4 days ago
2023-12-01 16:03
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 5 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)
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
-
5 months ago
2023-07-17 08:05
-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
-
5 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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OmegaT exercises
Java 8
OmegaT exercises
Submitted by
msoutopico
-
3 years ago
2021-05-09 18:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to replace path in apache rewrite
Java 8
This regex convert following text: /research/the-123s-of-school-choice/ INTO: /research-library/?report=the-123s-of-school-choice
Submitted by
Suman Maharjan
-
3 years ago
2021-05-15 05:30
(Last modified 3 years ago)
2021-05-15 05:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
3 years ago
2021-05-15 07:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to capture AlphaNumeric String of 7 or 11 length(Must contain at least one Alphabet and Must contain at least one Numeric)
Java 8
Regex to capture AlphaNumeric String Length should be 7 or 11 Must contain at least one Alphabet Must contain at least one Numeric
Submitted by
Suman Maharjan
-
3 years ago
2021-05-21 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
my regex
Java 8
test
Submitted by
anonymous
-
3 years ago
2021-05-23 03:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MBI Format
Java 8
Medicare Beneficiary Identifier (MBI) Format https://www.cms.gov/medicare/new-medicare-card/understanding-the-mbi-with-format.pdf
Submitted by
Chee Cheng
-
3 years ago
2021-05-30 05:30
(Last modified 3 years ago)
2021-05-30 05:38
1
2
3
4
5
6
...
11
Password
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(?=
.
*
[
A
-
Za
-
z
]
)
(?=
.
*
\d
)
[
A
-
Za
-
z
\d
$@$!%*?&#
]
{6,}
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Mohammed Elshaboury
-
10 months ago
2023-02-13 13:54