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,020 community submitted regex patterns...
1
Get table name from query
PCRE (PHP <7.3)
this extracts the table name in the from or join clause from SQL query
Submitted by
vwei02
-
9 years ago
1
Количество
PCRE (PHP <7.3)
Найти числа, которые обозначают количество.
Submitted by
anonymous
-
9 years ago
1
Parse faxmail log
PCRE (PHP <7.3)
no description available
Submitted by
Michael Blair
-
9 years ago
1
Exact match of whole word or phrase in string
PCRE (PHP <7.3)
word in sentense - true sentense has a word - true There is a word in the sentense - true Sentense wordless - false Sentense is empty - false words are in the sentense - false...
Submitted by
Denisenko Artem
-
9 years ago
1
2001-9999
ECMAScript (JavaScript)
2001-9999
Submitted by
anonymous
-
9 years ago
1
Cisco Mac address regex
ECMAScript (JavaScript)
just a a simple match for a mac address
Submitted by
celtic
-
9 years ago
1
Jaba
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Url parser
PCRE (PHP <7.3)
Parse url with any complexity
Submitted by
Bohdanov Mikhail
-
9 years ago
1
dd/mm/yyyy inc. LeapYears
ECMAScript (JavaScript)
1900 - 2015. Useful for Birthdates
Submitted by
ChrisAbra
-
9 years ago
1
dates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
WINCOR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
CATEGORY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Text to Sentence with URLs
PCRE (PHP <7.3)
Text to sentence is easy, but not when there are URLs or website names inside the text.
Submitted by
khpatel4991
-
9 years ago
1
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
9 years ago
1
uuu
Python
uuu
Submitted by
uuu
-
9 years ago
1
DevExpress AutoFilter: Keyword
ECMAScript (JavaScript)
Identify if string contains filter keyword
Submitted by
lina
-
9 years ago
1
URL with query
PCRE (PHP <7.3)
validate a url with or without query string and scheme
Submitted by
Ganey
-
9 years ago
1
email validation
PCRE (PHP <7.3)
if you want to validate user mail
Submitted by
amine.hallili@gmail.com
-
9 years ago
1
IRCCloud extract usernames
PCRE (PHP <7.3)
Extract the usernames out of a log dump from IRCCloud
Submitted by
Ivoah
-
9 years ago
1
...
166
167
168
169
170
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?<date>
\d
{4}
-
\d
{2}
-
\d
{2}
\s\d
{2}
:
\d
{2}
:
\d
{2}
)
\|\|
(?<key>
[^
\|
]
+
)
\|\|
(?<level>
[^
\|
]
+
)
\|\|
(?<info>
[^
\|
\n
]
+
)
(?:
\|\|
(?<optional>
[
\S\s
]
*
?
)
(?=
\d
{4}
-
\d
{2}
-
\d
{2}
\s\d
{2}
:
\d
{2}
:
\d
{2}
\|\|
[^
\|
]
+
\|\|
[^
\|
]
+
)
)?
/
gm
Open regex in editor
Description
Stone Stuff
Submitted by
mralves
-
9 years ago