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
Community Patterns
Search among 3,920 community submitted regex patterns...
0
Golang Docker matcher
Golang
Used by me for docker-retagger
Submitted by
Roman Minebaev
-
2 years ago
0
Architectural CSI (Construction specifications institute)
ECMAScript (JavaScript)
CSI is a documentation standard for Architectural buildings and specifications in construciton. Tihs matches the code based on the typical patterns in ues and returns the Number and the description if it iexists. May need retooling for Autodesk Model checker.
Submitted by
Ron Allen 2022
-
2 years ago
0
E-mail
.NET 7.0 (C#)
My first simple e-mail validator regex :)
Submitted by
anonymous
-
2 years ago
0
Username Middle name Surname regex matcher
Java 8
Username Middle name Surname regex matcher
Submitted by
Nikola
-
2 years ago
0
INSEE code for french municipalities
ECMAScript (JavaScript)
This is a regex that allows you to match INSEE codes for a french municipality. It is different from a french postal code, because it can have "A" or "B" in its second character, used in codes for cities located in Corse. Example: 2A004 for Ajaccio. ...
Submitted by
thomasdom
-
2 years ago
(Last modified 2 years ago)
0
Email regex
ECMAScript (JavaScript)
email regex with subdomain
Submitted by
anonymous
-
2 years ago
0
File Size Parsing Pattern
ECMAScript (JavaScript)
Purpose This pattern is used to parse human readable text strings regarding file sizes. The pattern names four capture groups in the string for the following purposes: ...
Submitted by
Vincent Engler
-
2 years ago
0
Something...
Java 8
Look for all entries of a country on a list that can have repeated values
Submitted by
anonymous
-
2 years ago
0
user name between 2 and 30 character
ECMAScript (JavaScript)
regex for user name with criteria: Minimum 2 character Maximum 30 character Character must be alphanumeric, except first character is alphabetical Character "_" and "." is allowed once between first and last character
Submitted by
aicone.id
-
2 years ago
(Last modified 9 months ago)
0
String length pattern
Golang
Simple search of string length with the regexp
Submitted by
anonymous
-
2 years ago
0
hash and slash
ECMAScript (JavaScript)
replace url that has a hash or slash with slash
Submitted by
anonymous
-
2 years ago
0
Strong Password (three of the four type)
ECMAScript (JavaScript)
must use at least three of the four available character types: lowercase letters, uppercase letters, numbers, and symbols.
Submitted by
anonymous
-
2 years ago
0
US telephone number practice
ECMAScript (JavaScript)
Attempting to match valid US phone number formates
Submitted by
anonymous
-
2 years ago
0
Get YouTube ID in link
ECMAScript (JavaScript)
regex for get video id in link
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
only .ts .tsx .js .jsx
ECMAScript (JavaScript)
get files extension
Submitted by
HZ
-
2 years ago
0
selecting a tag and the text inside it
ECMAScript (JavaScript)
The regular expression separates the beginning and end of the tag, as well as everything between them into separate groups.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
replace text in tag
ECMAScript (JavaScript)
find and replace text in tag
Submitted by
anonymous
-
2 years ago
0
Comprobar fecha
ECMAScript (JavaScript)
^(?:3[01]|12|0?[1-9])([\-/.])(0?[1-9]|1[1-2])\1\d{4}$
Submitted by
anonymous
-
2 years ago
0
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
2 years ago
0
UA phone number
ECMAScript (JavaScript)
check ua phone number
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
170
171
172
173
174
...
196
Semantic Version (semver)
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?<major>
0
|
[
1
-
9
]
\d
*
)
\.
(?<minor>
0
|
[
1
-
9
]
\d
*
)
\.
(?<patch>
0
|
[
1
-
9
]
\d
*
)
(?:
-
(?<prerelease>
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
(?:
\.
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
)*
)
)?
(?:
\+
(?<buildmetadata>
[
0
-
9a
-
zA
-
Z-
]
+
(?:
\.
[
0
-
9a
-
zA
-
Z-
]
+
)*
)
)?
$
"
gm
Open regex in editor
Description
.NET version of the Python
regex
found on
https://semver.org/
Submitted by
semver.org,Jeff Jacobson
-
a year ago