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 320 community submitted regex patterns...
0
Replace namespaces in xpath with local-name
.NET 7.0 (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
10 months ago
0
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
10 months ago
1
Phrase enclosed case insensitive
.NET 7.0 (C#)
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
a year ago
1
date time validation
.NET 7.0 (C#)
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 year ago
0
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
a year ago
(Last modified a year ago)
1
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Java 8
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
a year ago
0
test everything
Java 8
hello
Submitted by
anonymous
-
a year ago
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
a year ago
0
Split up text to 40 signs
Java 8
This splits a text into sequences of max. 40 chars, concatting with a pipe
Submitted by
anonymous
-
a year ago
3
Caltrans EA validation with optional XX-XXXXXX entry and C##-#????#
.NET 7.0 (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
-
a year ago
(Last modified a year ago)
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
a year ago
0
section headers
Java 8
ff
Submitted by
ff
-
a year ago
0
awdwa
Java 8
dwa
Submitted by
dwa
-
a year ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
a year ago
1
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
a year ago
0
Other segment
Java 8
Other segments
Submitted by
Lufram
-
a year ago
0
Take segments to string
Java 8
Take segments to string
Submitted by
Lufram
-
a year ago
1
Regex Card Name - Custom
.NET 7.0 (C#)
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
a year ago
1
Лямбды для OneScript
.NET 7.0 (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
a year ago
2
Aus Mobile number
.NET 7.0 (C#)
validates against multiple common formats
Submitted by
anonymous
-
a year ago
1
2
3
4
5
...
16
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