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
IPv4 Advanced
PCRE (PHP <7.3)
no description available
Submitted by
Abdullah Pazarbasi
-
8 years ago
0
filename and extension
PCRE (PHP <7.3)
no description available
Submitted by
4B1D F4DL14N N
-
8 years ago
0
po box extracter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Check not minified file
PCRE (PHP <7.3)
This regex will match only filenames not containing the ".min" marker
Submitted by
anonymous
-
8 years ago
0
UK phone numbers
PCRE (PHP <7.3)
Source: http://stackoverflow.com/questions/36777840/how-to-validate-phone-number-in-laravel-5-2 Thanks to: Nady Shalaby
Submitted by
Nady Shalaby
-
8 years ago
0
Facebook embedded video
Python
no description available
Submitted by
anonymous
-
8 years ago
0
Duplicate word match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find comments block in the source code.
ECMAScript (JavaScript)
This pattern finds comments block in the source code.
Submitted by
giraysam
-
8 years ago
0
P1 registers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
-1
North America - US - N11 Service Number - e.164 compliant/non-compliant
ECMAScript (JavaScript)
This expression can be used for identifying if a string (such as a dialed number using a cloud based telephony service) matches one of the known North American US N11 Service Numbers. It will match if the number is in e.164 format or not, and only matches when the string begins and ends with the des...
Submitted by
Benjamin Dean
-
8 years ago
0
regex for finding url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Divide URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
URL query param
Python
A solution for capture set/unset/catch a value of param query of URLs. Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.
Submitted by
Rafael Laurindo
-
8 years ago
0
redirections catégorie ordinateur-portable
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
A complete recognition of HTML elements pattern.
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Laurindo
-
8 years ago
0
A complete recognition of pattern for css selectors
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Laurindo
-
8 years ago
0
apt list --installed
Python
extract the package name and version name from the apt list --installed command
Submitted by
anonymous
-
8 years ago
0
Match part of css
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
apt list Version 2
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
377
378
379
380
381
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
(?<syslog_pri>
(
^
\<
\d
*
\>
)
)
|
(
^
(?<facility>
[^
\.
]
*
)
\.
(?<severity>
[^
\s
]
*
)
)
)?
\s
*
(?:
%{SYSLOGTIMESTAMP:timestamp}
|
%{TIMESTAMP_ISO8601:timestamp}
)
%{SYSLOGHOST:iporhost}
(?<messgae>
.
*
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago