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)
Variable address condition
Java 8
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
10 months ago
2022-11-24 15:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
10 months ago
2022-11-24 19:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract a string key's values from a json
Java 8
Sample: Finds errorType key values from a json. Values are returned in capturing group 1 of each match. Both UNKNOWN and UNAUTHENTICATED will be captured. ...
Submitted by
amansaryal
-
10 months ago
2022-11-26 18:23
(Last modified 10 months ago)
2022-11-26 21:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
partnkey value
Java 8
Extract value partn_key
Submitted by
anonymous
-
10 months ago
2022-11-28 21:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
date dd.mm.yyyy
Java 8
Date format dd.mm.yyyy
Submitted by
anonymous
-
10 months ago
2022-12-05 13:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
email valid
Java 8
email validation
Submitted by
Hoot
-
10 months ago
2022-12-12 02:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TatraBanka AMOUNT_VALUE
Java 8
some descriptoin
Submitted by
Inez van Acker, Robert Schulz
-
9 months ago
2022-12-16 16:24
(Last modified 4 months ago)
2023-06-14 09:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Decision Table
Java 8
Rules engine CSV Decision Table expression
Submitted by
Vincent Wautelet
-
9 months ago
2022-12-21 11:08
(Last modified 9 months ago)
2023-01-09 10:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Link Matcher v1
Java 8
The link matcher regex currently matches the most common types of links. *Removed other links
Submitted by
IkeVoodoo
-
9 months ago
2023-01-03 09:14
(Last modified 9 months ago)
2023-01-03 09:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DSA
Java 8
dsa
Submitted by
DSA
-
9 months ago
2023-01-10 16:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match gradle dependencies
Java 8
.
Submitted by
anonymous
-
9 months ago
2023-01-12 02:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid Scientific Notation Number
Java 8
A valid number can be split up into these components (in order): A decimal number or an integer. (Optional) An 'e' or 'E', followed by an integer. A decimal number can be split up into these components (in order):...
Submitted by
cliserkad
-
8 months ago
2023-01-25 19:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
carbon
Java 8
test1
Submitted by
anonymous
-
8 months ago
2023-01-30 16:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Business Address | WI | Trademark | USA
Java 8
s
Submitted by
anonymous
-
8 months ago
2023-01-30 17:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML Image Regex
Java 8
This code will find image files with .gif and .jpg extensions which are present in a HTML or CSS code. Here I am using the prefix '/asmproxy/' to identify the resource and then checking if extension ends with a .gif or .jpg. This Regex has its limitations as we are using prefix.
Submitted by
Suman Mummaneni
-
8 months ago
2023-02-03 11:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
8 months ago
2023-02-10 08:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
8 months ago
2023-02-13 13:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
elasticsearch exception explain regex
Java 8
throw elasticsearch exception logger info, find exception type and reason field
Submitted by
jason
-
7 months ago
2023-02-15 07:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CPF Number Repetition
Java 8
It matches CPF (Cadastro de Pessoa FĂsica) with all digits as the same number. Since CPF consists in a pattern ###.###.###-##, or ###########, and # being a single digit, this document cannot have all the 11 (eleven) digits as the same number. Therefore 000.000.000.000-00 would not be an example o...
Submitted by
TheRockSaysOP
-
7 months ago
2023-02-18 17:28
(Last modified 7 months ago)
2023-02-18 17:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match name and surname in a name.surname@domain.com email.
Java 8
This will match any words that show up before the @ sign in an email. Digits, dots, commasz and other special characters are ignored.
Submitted by
WojciechW
-
7 months ago
2023-02-22 14:20
1
...
6
7
8
9
10
11
Apigee example SQL injection detection regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
[
\s
]
*
(?i)
(
(
delete
)
|
(
exec
)
|
(
drop
\s
*
table
)
|
(
insert
)
|
(
shutdown
)
|
(
update
)
|
(
\b
or
\b
)
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 months ago
2023-03-03 05:50