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
Oxford comma
ECMAScript (JavaScript)
Insert comma in lists before the word "and" or "or".
Submitted by
Mogsdad w/ assist from TerryAtOpus
-
9 years ago
1
Multiline shortest match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Project
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Open and Closing Markup tags on Single Line Markup
PCRE (PHP <7.3)
Quick Dirty Working
Submitted by
Timothy Smith
-
9 years ago
1
used with irssi script fnotify's output with nm.pl enabled
PCRE (PHP <7.3)
transforms: network #channel message network #channel message network #channel message to network #channel message...
Submitted by
anonymous
-
9 years ago
1
Lab3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URN, match blocchi
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
OCEAN - SELECT to DropDown grid
PCRE (PHP <7.3)
no description available
Submitted by
UndeadScythes
-
9 years ago
0
NATO Stock Number (with or without NSC)
PCRE (PHP <7.3)
RegEx to validate a NATO Stock Number with or without the NATO Stock Code and with or without dashes
Submitted by
Matthew Perryman
-
9 years ago
1
Decimal Range
PCRE (PHP <7.3)
Matches any range valid numerical range. i.e 1-5 ; 1.0-5 ; 1.0-5.0 ; 1-5.0
Submitted by
James Lewis
-
9 years ago
1
email Validation
PCRE (PHP <7.3)
The email validation for registration
Submitted by
Jian
-
9 years ago
1
Get content from CSS url() param
PCRE (PHP <7.3)
Get data or url from css > background > url option.
Submitted by
Gokhan Ege
-
9 years ago
1
IP URL
PCRE (PHP <7.3)
Get all URLS that are IP Based URLS
Submitted by
notrin
-
9 years ago
1
Markdown Header
PCRE (PHP <7.3)
no description available
Submitted by
lasta
-
9 years ago
-1
Hostname validator
PCRE (PHP <7.3)
Validates the format of IPv4/IPv6 hostnames as well as domain names.
Submitted by
anonymous
-
9 years ago
1
nginx_luedong
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
G-Code 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
url validation HTML5
ECMAScript (JavaScript)
This is validation that is used in html5 for validate the url. http://www.faqs.org/rfcs/rfc3987.html
Submitted by
Alex Matos
-
9 years ago
1
to:192.168.20.55:80
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
156
157
158
159
160
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?<remote>
[^
]
*
)
-
(?<user>
[^
]
*
)
\[
(?<time>
[^
\]
]
*
)
\]
"
(?<method>
\S
+
)
(?:
+
(?<path>
[^
\"
]
*
)
+
\S
*
)?
"
(?<code>
[^
]
*
)
(?<size>
[^
]
*
)
(?:
"
(?<referer>
[^
\"
]
*
)
"
"
(?<agent>
[^
\"
]
*
)
"
)?
(?<request_time>
[^
]
*
)
(?<upstream_response_time>
[^
]
*
)
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago