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...
0
Discord role/ping/channel catcher
ECMAScript (JavaScript)
This regex will match when people ping someone or ping a group it will also match when people mention a channel for non-channel catching type use ``
Submitted by
The Detenator#4604
-
4 years ago
0
Frac
Python
frac
Submitted by
anonymous
-
4 years ago
0
convert currency
PCRE2 (PHP >=7.3)
remove currency symbol, remove commas
Submitted by
RWCorbett
-
4 years ago
1
String doesn't start or end with . - '
Java 8
String doesn't start or end with . - '
Submitted by
VS
-
4 years ago
0
SKRAI
PCRE2 (PHP >=7.3)
haowei.ch
Submitted by
haowei.ch
-
4 years ago
-2
smargs
PCRE2 (PHP >=7.3)
smargs not margins
Submitted by
rkatz
-
4 years ago
0
Ansible group that are not part of childre
PCRE2 (PHP >=7.3)
csc
Submitted by
anonymous
-
4 years ago
0
Date2 (Notes)
PCRE (PHP <7.3)
Date2 (Notes)
Submitted by
anonymous
-
4 years ago
0
Valid Dates
PCRE2 (PHP >=7.3)
e
Submitted by
anonymous
-
4 years ago
0
Ejemplos - lookahead
PCRE2 (PHP >=7.3)
Ejemplo del uso de grupos lookahead
Submitted by
anonymous
-
4 years ago
0
Numeric value without decimal
ECMAScript (JavaScript)
Numeric value without decimal
Submitted by
anonymous
-
4 years ago
0
numbered multilevel list
ECMAScript (JavaScript)
Search for items in dot separated lists like 1 1.1 1.1.1 ... 2...
Submitted by
Vlad
-
4 years ago
0
Date by Month Name
Golang
Best I could do for parsing dates spelled out as day, month name, year
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
2
Comparison of decimals with operators such as <, >, !=, ==, <>
Java 8
Regex expression for comparing decimal numbers with the usual comparison operators such as (greater than), >= (greater than or equal to), != (not equal to), == (equal to), ... The regex also allows filtering of data from e.g. a database, whereby the first value is not needed, e.g. [FIELD] < 100
Submitted by
Florian Drees
-
4 years ago
0
Check Integer Number
PCRE2 (PHP >=7.3)
Check Integer Number
Submitted by
anonymous
-
4 years ago
1
Matching decimals in european format (dot as grouping separator, comma as decimal separator)
Java 8
A regex for validating decimal numbers in the European number format (in many parts of Europe at least, including Germany). A comma is used as a separator for the decimal number, a dot as a separator for thousand places.
Submitted by
Florian Drees
-
4 years ago
(Last modified 4 years ago)
2
web log entry
PCRE2 (PHP >=7.3)
no description available
Submitted by
PepeRG
-
4 years ago
0
Bible reading accountability matching
ECMAScript (JavaScript)
Matthieu 2 - 14 Jean 2-10 Apocalypse 12-22 Genèse 1- 10 Nombres 1- 10 Luc 1
Submitted by
Jean-jacques AKAKPO
-
4 years ago
0
artifactory-acess
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
artifactory-request
Golang
no description available
Submitted by
Scott Barnes
-
4 years ago
1
...
234
235
236
237
238
...
902
Community Library Entry
2
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<host>
\d
{1,3}
.\d
{1,3}
.\d
{1,3}
.\d
{1,3}
)
(
\s
-
\s
)
(?P<user_name>
[
\w
-
]
*
)
(
\s
\[
)
(?P<time>
\w
*
\/
\w
*
\/
\d
{1,4}
:
\d
{1,2}
:
\d
{1,2}
:
\d
{1,2}
\s
-
\d
{1,4}
)
(
\]
\s
\"
)
(?P<request>
.
*
)
(
"
)
/
gm
Open regex in editor
Description
no description available
Submitted by
PepeRG
-
4 years ago