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 18,040 community submitted regex patterns...
1
years old
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Date Regex yyyy-mm-dd with leap year
PCRE (PHP <7.3)
/((20)[0-9]{2}-|1[02])-|12|3[01]))|((20)[0-9]{2}-|11)-|12|30))|((20)[0-9]{2}--|1[0-9]|2[0-8]))|((((20)(04|08|2468|13579))|2000)-[-]29)/g
Submitted by
anonymous
-
4 years ago
1
Find multiple consecutive occurrences of identical digits in a number
PCRE (PHP <7.3)
Example: Find the digit that repeats three times in a row in "451999277". Regex: "(\d)\1\1" (\d) - capture group for the digit and first occurrence \1 - matches one more consecutive occurrence of captured digit
Submitted by
anonymous
-
4 years ago
1
fechas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
fechasDDMMyyyy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
DT_LeihNr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
depchecker variable capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
prekladanie pismen znakmi
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
test
Python
no description available
Submitted by
anonymous
-
4 years ago
1
RegEx Teléfono
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
SSN
PCRE (PHP <7.3)
Match full SSN
Submitted by
anonymous
-
4 years ago
1
Separate path string to dir, filename (with extension), file (without extension) and extension. Groups is named
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Cuting Email
PCRE (PHP <7.3)
This little regex is taking an email and creating 2 group first is for before the @ sign and the second is for after the @ sign
Submitted by
anonymous
-
4 years ago
1
Exclude for ufl with OR
ECMAScript (JavaScript)
Exclude certain tags with OR
Submitted by
anonymous
-
4 years ago
1
International Phone Numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Barb's Stream Image Filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Phone Number
PCRE (PHP <7.3)
123 456 7890 (123) 456 7890 (123) 456-7890 1234567890 123 456 7890 123 4567890...
Submitted by
anonymous
-
4 years ago
1
A 'Bulletproof' URL Regular Expression Parser
PCRE (PHP <7.3)
A well-documented, easy to modify bulletproof regular expression that matches complete URLs or URL components. Components include: Schema scheme/protocol**: use an OR statement to add FTP, etc....
Submitted by
anonymous
-
4 years ago
1
phone in text
ECMAScript (JavaScript)
This is a number also 123-456-7890 This is not a number: 123456 This is not a number, but an address 123 456 My parameters are 90/60/90 - 120/150/120 - not a phone number I am cheeky and I use letter 0 instead of zero 604_213_0293 Or I use | symbol and also 604_2|3_0293 may happen...
Submitted by
anonymous
-
4 years ago
1
PSR-16 Cache Key
PCRE (PHP <7.3)
https://www.php-fig.org/psr/psr-16/ Key - A string of at least one character that uniquely identifies a cached item. Implementing libraries MUST support keys consisting of the characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding and a length of up to 64 characters. Implementing libr...
Submitted by
anonymous
-
4 years ago
1
...
781
782
783
784
785
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
mM
]
{1,3}
)?
(
[
cC
]
[
mM
]
|
[
cC
]
[
dD
]
|
[
dD
]
?
[
cC
]
{1,3}
|
[
dD
]
)?
(
[
xX
]
[
cC
]
|
[
xX
]
[
lL
]
|
[
lL
]
?
[
xX
]
{1,3}
|
[
lL
]
)?
(
[
iI
]
[
xX
]
|
[
iI
]
[
vV
]
|
[
vV
]
?
[
iI
]
{1,3}
|
[
vV
]
)?
$
/
gm
Open regex in editor
Description
Determines if the string is a roman numeral.
Submitted by
anonymous
-
4 years ago