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
email bunch
ECMAScript (JavaScript)
to check email bunch with commas
Submitted by
jaswant singh
-
9 years ago
2
SASS variables parser
Python
Parse SASS variables returning its variable name and properties.
Submitted by
Agustín Bouillet
-
9 years ago
2
Regular expression for matching parenthesis, two words and comma
ECMAScript (JavaScript)
Regular expression for matching parenthesis, two words and comma
Submitted by
anonymous
-
9 years ago
2
get Youtube & Vimeo id
PCRE (PHP <7.3)
grab youtube & vimeo id
Submitted by
mi-ca.ch
-
9 years ago
2
JavaScript RegEx for Version ID
ECMAScript (JavaScript)
This expression is used to attempt to ID version of code.
Submitted by
Henry Rieke
-
9 years ago
2
Select the first word of each paragraph
ECMAScript (JavaScript)
If you need to select only the firs complete word for each paragraph.
Submitted by
fmathews28
-
9 years ago
1
US Zipcode Validator
PCRE (PHP <7.3)
Validation rule: not empty numeric only allow "XXXXX", "XXXXX XXXX", or "XXXXX-XXXX" first 5 digits cannot be "00000" (so "00000", "00000 XXXX" and "00000-XXXX" will be regected)
Submitted by
Zheyang Song
-
9 years ago
1
dd dd
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
IBAN regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
find colon inside a tag
PCRE (PHP <7.3)
no description available
Submitted by
RCVS
-
9 years ago
2
url
PCRE (PHP <7.3)
took me way to long
Submitted by
timmyRS
-
9 years ago
2
Simple obfuscated URL catcher
PCRE (PHP <7.3)
Sim regexp to try to catch a URL or a obfuscated URL (with spaces) from a string
Submitted by
Eduardo Pereira
-
9 years ago
2
regex1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
extract price from text
PCRE (PHP <7.3)
no description available
Submitted by
mku
-
9 years ago
1
Line feeds to html paragraphs
PCRE (PHP <7.3)
Take the text from a textarea and surround text delimited with newlines with p-tags
Submitted by
Bob M
-
9 years ago
2
Regex numbers and spaces
PCRE (PHP <7.3)
Get numbers and spaces from string.
Submitted by
Emmanuel Tabares
-
9 years ago
2
Version Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
zip Ile de France
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
File path seperator
PCRE (PHP <7.3)
Seperate any file from it's path and trim extention, creating two groups
Submitted by
Edward Aryee
-
9 years ago
1
...
64
65
66
67
68
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<client_ip>
[
\d
.
]
+
)
-
-
\[
(?P<timestamp>
.
*
?
)
\]
"
(?P<request_method>
\w
+
)
(?P<request_uri>
.
*
?
)
(?P<protocol>
.
*
?
)
(?P<protocol_version>
.
*
?
)
"
(?P<status>
\d
+
)
(?P<response_size>
\d
+
|
-
)
"
(?P<referrer>
.
*
?
)
"
"
(?P<user_agent>
.
*
?
)
"
/
gm
Open regex in editor
Description
Read a line from the splunk tutorial www1 log
Submitted by
Russ Ferriday
-
2 years ago
(Last modified 2 years ago)