Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
-1
1 upvotes, 2 downvotes (33% like it) (You must be signed in to vote)
java
IPv4 Matcher
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
-
2 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
dotnet
MMM DDD YYYY
FEB MON 2023
Submitted by
anonymous
-
4 months ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
dotnet
Parsing result of SQL Server version (SELECT @@VERSION)
Parses MS SQL Server version returned from executing SELECT @@version
Submitted by
M Rivas
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Mt940-61
Parse tag 61 of an mt940 statement
Submitted by
anonymous
-
8 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
SSID Pattern
Length must be 7 digits Every character must be an integer
Submitted by
Abhi Reddy
-
8 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Oauth2 client token matcher
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
8 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Regular expression for positive number with 2 decimals used for displaying money
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
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
test
test
Submitted by
anonymous
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
P4 file info
just p4 file command output match
Submitted by
anonymous
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
CAN regex
n
Submitted by
anonymous
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Names from Wikipedia List
Matches all names in a Wikipedia List, excluding names with suffixes (eg. Jr., III, PhD, etc.) or multiple middle names.
Submitted by
Brian Kozub
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Task6.1
simple mail regex
Submitted by
anonymous
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Task6.2
Telephone number regex
Submitted by
anonymous
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Remplazar contenido
Remplazar contenido
Submitted by
anonymous
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
TAP Result Log issue
This might help you to not miss some because the (.....), is dependent on the length.
Submitted by
Darwin Subramaniam
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Enum map to test cases
.
Submitted by
DenKu1
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
myRegEx
myRegEx
Submitted by
Avinash
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Sanitize percentage input into bare real number
Turn "123,456 %" into just "123.456"! Mainly for use in C# to parse percentage as string into double. Strip away whitespace Replace comma with decimal point Only allow valid numeric input multiple commas or decimal points won't match...
Submitted by
Moravuscz
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Semantic Version (semver)
.NET version of the Python regex found on https://semver.org/
Submitted by
semver.org,Jeff Jacobson
-
7 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Variable address condition
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
7 months ago
1
2
3
4
...
15
test
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
java
"
(
\+
?
(?:
(
84
|
0
)
)
(
\s
?
[
\-
\u2010\u2011\u2012\u2013\u2014\u2015
]
?
\s
?
)
[
357
-
9
]
\d
{6}
(?:
\d
{2}
(?:
\d
{1}
)?
)?
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 7 months ago