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...
-2
finds the instance of two or more repeating letters
Python
no description available
Submitted by
cp0153
-
9 years ago
0
file extension
ECMAScript (JavaScript)
get the file extension of a given filename
Submitted by
Simon Taylor
-
9 years ago
1
Email id
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Slug
PCRE (PHP <7.3)
Matches alphanumeric slugs without repeating dashes
Submitted by
Óscar Enríquez
-
9 years ago
1
Console.log line deletion, multi line.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
find link to profile in VK html message
ECMAScript (JavaScript)
поиск в тексте всех ссылок на профили пользователей вконтакте. ссылки вида [id12345678|Name]
Submitted by
MixApp
-
9 years ago
1
Get email info (2)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label be obligatory
Submitted by
Matías Pizarro González
-
9 years ago
2
i18 language lines extraction
ECMAScript (JavaScript)
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
9 years ago
1
my apache2 access.log regex
PCRE (PHP <7.3)
google.com:80 212.111.203.171 - - [02/Mar/2015:10:27:04 +0000] "GET /css/style.css HTTP/1.1" 304 138 "http://google.com" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36"
Submitted by
marf
-
9 years ago
2
python:S117
PCRE (PHP <7.3)
Local variable and function parameter names should comply with a naming convention
Submitted by
anonymous
-
9 years ago
0
/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Year regexp
PCRE (PHP <7.3)
regexp for year filtering
Submitted by
anonymous
-
9 years ago
2
Simple @user replacement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
credit card
PCRE (PHP <7.3)
Based on http://www.regular-expressions.info/creditcard.html This example includes test strings. This only validates the pattern, and not whether the credit card number passes a checksum validation. See the Luhn algorithm for details https://en.wikipedia.org/wiki/Luhn_algorithm...
Submitted by
Steve Piercy
-
9 years ago
1
ipv4 and ipv6
PCRE (PHP <7.3)
no description available
Submitted by
shri
-
9 years ago
1
masked phone input validator
ECMAScript (JavaScript)
masked phone input validator
Submitted by
fermanakgun
-
9 years ago
2
Function Parameter Switcher
PCRE (PHP <7.3)
Switches the order of two functions in a parameter.
Submitted by
anonymous
-
9 years ago
0
List of EmailAddresses
ECMAScript (JavaScript)
List of EmailAddresses optionally allowing with personal i.e. "Personal Name "
Submitted by
anonymous
-
9 years ago
1
Absolute Date format
ECMAScript (JavaScript)
no description available
Submitted by
Jesse Benton
-
9 years ago
1
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Pattern
ECMAScript (JavaScript)
This regular expression is designed to work with character-delimited strings, and provides a means to specify the index of delimiter occurrence at which content is extracted.
Submitted by
Connor Goddard
-
9 years ago
1
...
48
49
50
51
52
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
12
]
\d
)?
(
\d\d
)
[
\.\/\-
]
(
0
?
[
1
-
9
]
|
1
[
012
]
)
[
\.\/\-
]
(
0
?
[
1
-
9
]
|
[
12
]
\d
|
3
[
01
]
)
\s
(
[
01
]
?
[
0
-
9
]
|
2
[
0
-
3
]
)
:
[
0
-
5
]
[
0
-
9
]
$
/
Open regex in editor
Description
Validation for date 2013.12.24 14:50
Submitted by
axelprog
-
10 years ago