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,920 community submitted regex patterns...
1
Nome articolo
PCRE (PHP <7.3)
Matcha il nome di un articolo (primo carattere, almeno 2 numeri=
Submitted by
DD
-
10 years ago
1
image.ext check
PCRE (PHP <7.3)
regexp for match images extension (png,jpg,jpeg,gif)
Submitted by
dummy
-
10 years ago
1
matching value of html src attribute
PCRE (PHP <7.3)
matching value of html src attribute
Submitted by
junkuos
-
10 years ago
1
Log entry Regex
PCRE (PHP <7.3)
no description available
Submitted by
KP
-
10 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
-
10 years ago
1
daily 204
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
webui
PCRE (PHP <7.3)
webui test
Submitted by
Stelsy
-
10 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
-
10 years ago
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
-
10 years ago
1
Credit Card finder
PCRE (PHP <7.3)
Captures credit card looking sequence of digits Luhn validation remains required as a complement.
Submitted by
OP
-
10 years ago
0
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
10 years ago
1
cross platform file extension in node/io.js
ECMAScript (JavaScript)
This regex will match the file extension on any platform in node.js or io.js.
Submitted by
Russell Dempsey
-
10 years ago
5
URL
PCRE (PHP <7.3)
URL Description from Dr. M. G. @ Brookes
Submitted by
anonymous
-
10 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
10 years ago
1
AutoDateRegex
PCRE (PHP <7.3)
Regex for date for example in saved reports (01m-1y) beginning of last month Format -> dmy
Submitted by
Mayer@netgo.org
-
10 years ago
-3
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
vx
PCRE (PHP <7.3)
sv
Submitted by
cv
-
10 years ago
1
PHPfrance soustraction d'une chaîne
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
fixer
PCRE (PHP <7.3)
no description available
Submitted by
t
-
10 years ago
-2
strip text enclosed in parentheses that does not match any keyword(s)
PCRE (PHP <7.3)
strip or remove parentheses enclosed text - including the parentheses itself - only if the enclosed text does not contain any of the FULL keyword(s). Leave all parentheses enclosed text if it contains any keyword(s) listed in the regex string. Uses negative lookahead and \b for determining word boun...
Submitted by
marie bacuno
-
10 years ago
1
...
853
854
855
856
857
...
896
MARKDOWN title reader
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
#
+
\s
*
(
.
*
?
)
\{
#
(
.
*
)
\}
/
gm
Open regex in editor
Description
matches the titles from a markdown starting with #
i.e.
Campaign uploader {#15mins-campaign-uploader}
Submitted by
Deepak O
-
a year ago