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)
grade pattern
Java 8
grade pattern for chinese school grade
Submitted by
anonymous
-
a year ago
2022-10-21 03:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mt940-61
Java 8
Parse tag 61 of an mt940 statement
Submitted by
anonymous
-
a year ago
2022-10-22 03:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Oauth2 client token matcher
Java 8
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
a year ago
2022-10-25 07:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular expression for positive number with 2 decimals used for displaying money
Java 8
I think from time to time we all need a regular expression for displaying numbers with 2 decimals for displaying money of various currencies in the world. This regex should only allow 1 dot or comma as a decimal separator. And only allow positive numbers and the numbers can't begin with a 0. Goals:...
Submitted by
Remzi Cavdar
-
a year ago
2022-10-27 17:25
(Last modified 4 months ago)
2023-07-20 05:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
Java 8
test
Submitted by
anonymous
-
a year ago
2022-10-31 10:58
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
-
a year 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
-
a year 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
-
a year ago
2022-11-26 18:23
(Last modified a year 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
-
a year 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
-
a year 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
-
a year 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
-
a year ago
2022-12-16 16:24
(Last modified 6 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
-
a year ago
2022-12-21 11:08
(Last modified a year 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
-
a year ago
2023-01-03 09:14
(Last modified a year 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
-
a year 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
-
a year 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
-
10 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
-
10 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
-
10 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
-
10 months ago
2023-02-03 11:29
1
...
6
7
8
9
10
11
Business Address | WI | Trademark | USA
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
(
(
.
*
)
(
Waukesha
|
MADISON
|
NORTHBROOK
)
(
\w
{2,}
)
(
\d
+
((
\d
+
)*)
)
\w
+
)
(
(
.
*
)
(
Waukesha
|
MADISON
|
NORTHBROOK
)
(
\w
{2,}
)
(
\d
+
)
)
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
10 months ago
2023-01-30 17:47