Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 240 community submitted regex patterns...
0
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
-
2 years ago
(Last modified a year ago)
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
0
Variable address condition
Java 8
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
2 years ago
0
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
2 years ago
0
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
-
2 years ago
(Last modified 2 years ago)
0
partnkey value
Java 8
Extract value partn_key
Submitted by
anonymous
-
2 years ago
0
date dd.mm.yyyy
Java 8
Date format dd.mm.yyyy
Submitted by
anonymous
-
2 years ago
0
email valid
Java 8
email validation
Submitted by
Hoot
-
2 years ago
0
TatraBanka AMOUNT_VALUE
Java 8
some descriptoin
Submitted by
Inez van Acker, Robert Schulz
-
2 years ago
(Last modified a year ago)
0
Decision Table
Java 8
Rules engine CSV Decision Table expression
Submitted by
Vincent Wautelet
-
2 years ago
(Last modified 2 years ago)
0
Link Matcher v1
Java 8
The link matcher regex currently matches the most common types of links. *Removed other links
Submitted by
IkeVoodoo
-
2 years ago
(Last modified 2 years ago)
0
DSA
Java 8
dsa
Submitted by
DSA
-
2 years ago
0
Match gradle dependencies
Java 8
.
Submitted by
anonymous
-
2 years ago
0
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
-
2 years ago
0
carbon
Java 8
test1
Submitted by
anonymous
-
2 years ago
0
Business Address | WI | Trademark | USA
Java 8
s
Submitted by
anonymous
-
2 years ago
0
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
-
2 years ago
0
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
2 years ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
2 years ago
0
elasticsearch exception explain regex
Java 8
throw elasticsearch exception logger info, find exception type and reason field
Submitted by
jason
-
2 years ago
1
...
8
9
10
11
12
NATO Stock Number (with or without NSC)
0
Regular Expression
PCRE (PHP <7.3)
/
^
*
(
\d
{4}
-
?
)?
\d
{2}
-
?
\d
{3}
-
?
\d
{4}
*
$
/
Open regex in editor
Description
RegEx to validate a NATO Stock Number with or without the NATO Stock Code and with or without dashes
Submitted by
Matthew Perryman
-
9 years ago