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)
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
6 days ago
2023-12-01 16:03
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
-
17 days ago
2023-11-20 15:18
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>
-
23 days ago
2023-11-15 10:54
(Last modified 22 days ago)
2023-11-15 17:35
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
-
24 days ago
2023-11-14 09:00
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
-
2 months 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)
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
-
3 months ago
2023-09-22 11:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
3 months ago
2023-09-09 10:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
3 months ago
2023-08-31 11:08
(Last modified 3 months ago)
2023-08-31 14:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
3 months ago
2023-08-25 22:32
(Last modified 3 months ago)
2023-08-27 08:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
html <Title>
Java 8
htnle
Submitted by
erichologist
-
4 months ago
2023-08-09 16:02
-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
-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
-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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
6 months ago
2023-06-19 17:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
6 months ago
2023-06-08 12:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
6 months ago
2023-06-08 12:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
6 months ago
2023-06-08 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
detect inner function with recursiion
Java 8
working for all not for java
Submitted by
anonymous
-
6 months ago
2023-06-07 14:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
catch inner element
Java 8
working regex for any
Submitted by
anonymous
-
6 months ago
2023-06-07 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JabRef biblatex alphabetic adaption
Java 8
A regex used to emulate the biblatex alphabetic citation key style in JabRef: https://discourse.jabref.org/t/use-field-markers-in-regex-for-citation-key-generator/3842
Submitted by
anonymous
-
6 months ago
2023-06-06 15:00
(Last modified 6 months ago)
2023-06-06 16:27
1
2
3
4
...
11
catch inner element
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
\w
+
)
\(
(
[^
()
]
+
)
\)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-06-07 14:44