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
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
Semver split
"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by
Icaruk
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Get ip address (only ipv4) Validator
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Get ip address (only ipv6) Validator
Get ip address (only ipv6) Validator
Submitted by
Mr.Tang
-
3 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Get ip address (only ipv4) Validator
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
3 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
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
dotnet
Mime type parser
A "simple" regex to parse mime types. Handles all commonly occurring parts of a mime type string such as: Type Subtype Subtype's with an extra extension (e.g. svg+xml) (Optional input) Multiple parameters (Optional input)...
Submitted by
Vespion
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
Kt SDK V2
kt SDKV2
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
GO SDK V2
Go SDK v2
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
REACT SDK V3
React SDK V3
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
Anime Xdcc Name + Episode Regex
Parse XDCC filename strings for a name and episode. Appears to work for most major bots but unreliable for any data other than name and episode number/version
Submitted by
anonymous
-
4 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Phone number for all countries
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
15.02.2022 15:00:00
15.02.2022 15:00:00
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Minimum 10 herhangi dijit
Minimum 10 herhangi dijit
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
USD
USD
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
01 Jan 2022 Mon 01:02:03
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
^[A-Z,a-z,\-, ,\&]+$
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
4 months 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
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
log timestamp
extract time stamp from log entry
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Match IPv4 Valid
expression to capture valid IP
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Get h1-6 tag
(.*?)
Submitted by
OlegBel
-
5 months ago
1
2
3
4
5
...
14
Mime type parser
Vote
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
Regular Expression
dotnet
@"
(?<type>
\w
*
)
\/
(?<subtype>
[
\w
\.
-
]
*
)
(?:
\+
(?<subtype>
[
\w
\.
-
]
*
)
)?
(?:
;
(?:
(?<key>
.
+
)
=
(?<value>
.
*
)
;
)*
(?<key>
.
+
)
=
(?<value>
.
*
)
)?
"
g
Open regex in editor
Description
Loading markdown...
Submitted by
Vespion
- 4 months ago