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...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
2 years ago
2021-11-05 03:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
2 years ago
2021-11-04 17:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Detect [YOTI] in string.xml
Java 8
we can use this regex?
Submitted by
anonymous
-
2 years ago
2021-11-02 17:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
adi1
Java 8
https://internetinthecar-e2e\.((sfr|a1|swisscom|proximus|elisa|tango|telenor-no|telenor-se|yousee|plus|telia|bite-lv|bite-lt|a1-)\.)?iot\.vodafone\.com/sso/authorize/callback|https://internetinthecar-e2e-new\.iot\.vodafone\.com/sso/authorize/callback
Submitted by
anonymous
-
2 years ago
2021-11-01 21:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
11
Java 8
11
Submitted by
11
-
2 years ago
2021-10-15 07:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
2 years ago
2021-10-02 18:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
2 years ago
2021-09-28 07:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Smartling custom placeholders and liquid strategy
Java 8
Suggested Smartling custom placeholder regex to support liquid syntax as documented for Braze. Because default value cannot be extracted easily recommend rewrting the liquite to avoid using default filters.
Submitted by
Eric Negron
-
2 years ago
2021-09-14 13:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Yuque
Java 8
Yuque
Submitted by
anonymous
-
2 years ago
2021-08-26 01:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
yyyy/mm/dd
Java 8
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day, date format. E.g: 2021/08/25 [match] 2021/...
Submitted by
mayl0421
-
2 years ago
2021-08-25 12:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
123
Java 8
123
Submitted by
anonymous
-
2 years ago
2021-08-22 14:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
2 years ago
2021-08-19 13:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to verify a java method
Java 8
Verifies java methods
Submitted by
Marco Galindo
-
2 years ago
2021-08-16 17:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
select
Java 8
select\s+(\|((\w+(\.\w+)?)+(\s?,\s?\w+(\.\w+)?))|((\w+\(|(\w+\.\w+)?\))(\s+\,\s+)?)+)\s+from\s+(\w+(\s?,\s?\w+)*\;?)(\s+((\w+\s+join)\s+(\w+(\.\w)?\s+on\s+(\w+(\.\w+)?\s+=\s+\w+(\.\w+)?)?)(\s+,\s+)?)+)?(\s+((limit\s+(\w+)?\s?(\,\w+\;)?)|((where)?\s+?(+\s?;))))?
Submitted by
anonymous
-
2 years ago
2021-08-08 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
email with cyrillic
Java 8
email with cyrillic
Submitted by
Mpchest
-
2 years ago
2021-08-04 14:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
File information modify
Java 8
file_(name)|file_(path)|file_(size)|file_(date) - searching (regex rule) file_info, name, path, size, date - keeping (result)
Submitted by
Dorival Trindade
-
2 years ago
2021-08-03 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
2 years ago
2021-07-21 12:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sfdgvsdgdfg
Java 8
dgfdgdf
Submitted by
anonymous
-
2 years ago
2021-07-07 21:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
标点
Java 8
匹配大部分标点
Submitted by
anonymous
-
2 years ago
2021-07-04 12:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
css attribute validation
Java 8
css attribute validation
Submitted by
arnab
-
2 years ago
2021-06-24 18:00
1
...
6
7
8
9
10
11
Email Validation Pattern
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(
(
[^
<>()
[
\]\\
.,;:
\s
@
\"
]]
+
(
\.
[^
<>()
[
\]\\
.,;:
\s
@
\"
]]
+
)*
)
|
(
\"
.
+
\"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Aslam Anver
-
2 years ago
2021-09-28 07:16