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
Pug variables
PCRE (PHP <7.3)
Change jade "#{variable}" to "" + variable + ""
Submitted by
anonymous
-
8 years ago
0
Svn branch from svn look
Python
no description available
Submitted by
anonymous
-
8 years ago
0
regla redireccion atencion al cliente
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
test regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
comma's not within quotes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
cisco_syslog_regex
PCRE (PHP <7.3)
^(+)\s(+)\s(+)\s(+)\s+(?+)\s+\*(?+\:)\s+(+)\s+(+)\s+(+)\s+\%(?+)\s+(?+)\s+(?+\')\s+\w+\s+\w+\:\s+(?+)\s+\w+\s+\w+\:\s+(?+)\s+\w+\s\'\w+\'\s+(?)\w+\s+\'(?+)\s+\w+\s+\'\w+\'\s+\w+\s+\w+\s+\'(?+)\s+\w+
Submitted by
anonymous
-
8 years ago
0
match cookie name pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Swift Codes for any country
PCRE (PHP <7.3)
This will work for all swift codes, just eliminate the country names you don’t want to search for. The first 8 digits of a swift code determine the bank, the last 3 determine a specific branch. For Example CIBCCATTXXX would CIBC and the XXX is the branch.
Submitted by
anonymous
-
8 years ago
0
Nth occurrence of word - pull single table out of HTML with a bunch of tables
PCRE (PHP <7.3)
3rd party generated HTML (Purchase Order) was rife with errors, so direct import was impossible. Decided to pull the particular table out of the HTML attachment, and then wrap that as "new" HTML for import into DOMDocument. PHP code: preg_match('/^(?:(?:(?!table).)*table){19}(.+?(?=table))/is', $ra...
Submitted by
Christopher Cilley
-
8 years ago
0
ID at end of string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Better Decimal Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Taiwan phone number format
ECMAScript (JavaScript)
Forked from https://regex101.com/r/vL1pD2/1
Submitted by
Albert Yu
-
8 years ago
0
CIF (Codigo de Indentificación Fiscal) - Spain
PCRE (PHP <7.3)
Spain Format CIF (Codigo de Indentificación Fiscal)
Submitted by
dagope
-
8 years ago
0
MMDP_regex_workshop_simple_zip_code_example
Python
no description available
Submitted by
ghukill
-
8 years ago
0
How to separate letters and digits from a string in php
PCRE (PHP <7.3)
$str = '12jan'; $arr = preg_split('/(? RO [1] => 123 )
Submitted by
Ionut M Ionete
-
8 years ago
0
Email Address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
valid domain format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Validate input la boi cua 100k
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
[JS] Detect hostname with or without subdomain
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
...
405
406
407
408
409
...
902
Community Library Entry
0
Regular Expression
Python
r"
uWR
.
+
Accept
\s
+
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,
\d
{2}
,rc=
\d
{2}
"
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago