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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 17,660 community submitted regex patterns...
1
How to document a regex? Example 1
PCRE (PHP <7.3)
How to document a regex? Example 1: undocumented Regex which works with my test string
Submitted by
Thomas
-
9 years ago
1
How to document a Regex? Example 2
PCRE (PHP <7.3)
How to document a Regex? Example 2: added documentation using (?#)
Submitted by
Thomas
-
9 years ago
0
webui
PCRE (PHP <7.3)
webui test
Submitted by
Stelsy
-
9 years ago
1
daily 204
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Anyone can help to generate the regular expression for the desc ?
ECMAScript (JavaScript)
Hi All, We got a database column which saving the table definition as patten string below. How can I extract the column & libelle information out of the string by using regular expression ? Thanks a lot ! c:{k:16:PERIODDEFINITION;c:{k:8:REVENUE1;c:{k:6:COLUMN;s:8:REVENUE1;k:7:LIBELLE;s:23:Revenue ...
Submitted by
anonymous
-
9 years ago
1
Log entry Regex
PCRE (PHP <7.3)
no description available
Submitted by
KP
-
9 years ago
1
image.ext check
PCRE (PHP <7.3)
regexp for match images extension (png,jpg,jpeg,gif)
Submitted by
dummy
-
9 years ago
1
Nome articolo
PCRE (PHP <7.3)
Matcha il nome di un articolo (primo carattere, almeno 2 numeri=
Submitted by
DD
-
9 years ago
1
CamelCase parsing helper
Python
Helper regex for parsing CamelCase identifiers. Captures the first word of the identifier in group 1 and the rest in group 2. Iterate to consume the whole name. Works on fooBar, FooBar, and FOOBar.
Submitted by
Kevin
-
9 years ago
1
lisp
PCRE (PHP <7.3)
match function names in defun constructs
Submitted by
anonymous
-
9 years ago
1
Goto next code field
Python
Finds the next 'fieldish' part of the code like after equals or brackets or comma.
Submitted by
anonymous
-
9 years ago
1
border syntax checker
PCRE (PHP <7.3)
Checks the css value for a border
Submitted by
Benjamin Weigt
-
9 years ago
1
Indonesia Post Code
PCRE (PHP <7.3)
no description available
Submitted by
respeto
-
9 years ago
0
YouTube VideoID and ListID from URL
PCRE (PHP <7.3)
For embeding, replace with //www.youtube.com/embed/$3?list=$2$6
Submitted by
@rubenlopezgea
-
9 years ago
1
Search for Qualifications
PCRE (PHP <7.3)
This will identify M.D.'s and D.O.s, regardless of punctuation (within reason) and exclude similar matches (e.g., DMD)
Submitted by
anonymous
-
9 years ago
0
Match Linux File basename and pathname
PCRE (PHP <7.3)
Matches 2 groups - pathname and file basename, and will exclude anything on the end of the line that is not properly escaped.
Submitted by
Steve Sant
-
9 years ago
1
Google Sheets Reference Formula
ECMAScript (JavaScript)
Matches and extracts the relevant parts of reference formulas from Google Sheets. For instance: ='Test Sheet'!H$5
Submitted by
anonymous
-
9 years ago
1
Pinguino regex
Python
Used for replace words from .pdl
Submitted by
anonymous
-
9 years ago
1
Removes C-like comments
Python
no description available
Submitted by
Gabriel Olivério
-
9 years ago
1
Parse an HL7 date, and capture the components
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
93
94
95
96
97
...
883
url regex
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
http
|
https
|
ftp
|
sftp
)
:
\/\/
(
www
\.
)*
(
\w
\.
)*
\w
+
\.
(
\w
){1,3}
(
:
\d
{1,4}
)*
(
\/
*
)
[
a
-
zA
-
Z0
-
9_.?&=
%
]
*
/
gm
Open regex in editor
Description
Submitted by
-
2 years ago