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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 9,340 community submitted regex patterns...
1
Only if before
PCRE (PHP <7.3)
Only if needle is before target
Submitted by
anonymous
-
2 years ago
0
Semantic Version (semver)
.NET 7.0 (C#)
.NET version of the Python regex found on https://semver.org/
Submitted by
semver.org,Jeff Jacobson
-
2 years ago
0
Sanitize percentage input into bare real number
.NET 7.0 (C#)
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
-
2 years ago
0
Validate Date Represented by Integer 1900 - 2099
PCRE (PHP <7.3)
Very simple validation expression that will validate a date in the range of 19000101 through 20991231. These formats are very popular for partitioning and representing dates as Long values or Integers. This does not check for Leap year values, or the months with varying number of days. Please Note...
Submitted by
Edward Rush
-
2 years ago
0
myRegEx
.NET 7.0 (C#)
myRegEx
Submitted by
Avinash
-
2 years ago
0
Fix property names with spaces generated by odata2poco
PCRE (PHP <7.3)
Run in notepad++, replace with \u$1
Submitted by
anonymous
-
2 years ago
0
Enum map to test cases
.NET 7.0 (C#)
.
Submitted by
DenKu1
-
2 years ago
0
TAP Result Log issue
.NET 7.0 (C#)
This might help you to not miss some because the (.....), is dependent on the length.
Submitted by
Darwin Subramaniam
-
2 years ago
(Last modified 2 years ago)
0
Remplazar contenido
.NET 7.0 (C#)
Remplazar contenido
Submitted by
anonymous
-
2 years ago
0
Exact match of a word in a phrase: the phrase must be composed by a single word
PCRE (PHP <7.3)
It will match if it's present only the exact word in a phrase, without any other words in the same sentence
Submitted by
anonymous
-
2 years ago
0
Task6.2
.NET 7.0 (C#)
Telephone number regex
Submitted by
anonymous
-
2 years ago
0
Task6.1
.NET 7.0 (C#)
simple mail regex
Submitted by
anonymous
-
2 years ago
0
Switching items in a database
PCRE (PHP <7.3)
This is from "Learning the Vi editor", chapter 6 page 96
Submitted by
anonymous
-
2 years ago
0
Names from Wikipedia List
.NET 7.0 (C#)
Matches all names in a Wikipedia List, excluding names with suffixes (eg. Jr., III, PhD, etc.) or multiple middle names.
Submitted by
Brian Kozub
-
2 years ago
0
Tecnologie Web - Regex
PCRE (PHP <7.3)
REGEX per il progetto di tecnologie web
Submitted by
Federico Benedetti
-
2 years ago
0
CAN regex
.NET 7.0 (C#)
n
Submitted by
anonymous
-
2 years ago
0
P4 file info
.NET 7.0 (C#)
just p4 file command output match
Submitted by
anonymous
-
2 years ago
1
Group first letter, Group Remaining letters, Group White space
PCRE (PHP <7.3)
first groups all white space $1 second groups all first letter of every word except capitals third groups remaining letters
Submitted by
slimelord
-
2 years ago
0
Phone Format ( FORK )
PCRE (PHP <7.3)
f
Submitted by
anonymous
-
2 years ago
0
cert
PCRE (PHP <7.3)
cert regex
Submitted by
anonymous
-
2 years ago
1
...
6
7
8
9
10
...
467
Community Library Entry
1
Regular Expression
.NET 7.0 (C#)
@"
(
[
A
-
Za
-
z-éèë
]
+
)
(
\b
[
A
-
Z
]
[
A
-
ZÉ
\s
]
+
\b
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago
(Last modified a year ago)