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)
dotnet
Wikipedia ISO 4217 (Currency Codes) table to C# enum
This converts the values in this) table to C# code. Example: pulic enum Iso4217 { /* output here */...
Submitted by
Diemaco
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
for killerswim
a
Submitted by
anonymous
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Replace namespaces in xpath with local-name
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
9 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Phrase enclosed case insensitive
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
23 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
date time validation
Validation of the date of time, taking into account the high year in the format date.ToString("yyMMdd-hh_mm_ss").
Submitted by
Oleksii Serikov (alex@neochrom.biz)
-
a month ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Caltrans EA validation with optional XX-XXXXXX entry and C##-#????#
Checks validity of an EA number first two digits 01-12 followed by hyphen then a number from 0-4 and then 4 numbers or uppercase letters and ending in a 1 or 4 for example "05-1J7601". Adding a capital C to the beginning is also accepted "C05-1J7601", along with the entry of 2 X's hyphen and 6 X's ...
Submitted by
RDJ@Ct
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Check Windows file name
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Regex Card Name - Custom
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Лямбды для OneScript
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
Aus Mobile number
validates against multiple common formats
Submitted by
anonymous
-
2 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
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
1
2
3
4
5
CSS RGB validation
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
javascript
/
^
rgba
?
\(
(?:
(?:
(?:
[
0
-
9
]
{1,3}
){2}
[
0
-
9
]
{1,3}
|
(?:
[
0
-
9
]
{1,3}
%
){2}
[
0
-
9
]
{1,3}
%
)
(?:
\/
(?:
[
0
-
9
]
{1,3}
%
|
1
|
0
|
0
?
\.
[
0
-
9
]
+
)
)?
|
(?:
(?:
[
0
-
9
]
{1,3}
,
){2}
[
0
-
9
]
{1,3}
|
(?:
[
0
-
9
]
{1,3}
%,
){2}
[
0
-
9
]
{1,3}
%
)
(?:
,
(?:
[
0
-
9
]
{1,3}
%
|
1
|
0
|
0
?
\.
[
0
-
9
]
+
)
)?
)
\)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Martin
- 4 months ago