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 3,840 community submitted regex patterns...
0
does this work dms?
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
3 Forms: H5H 5H5 H5H5H5 H5H-5H5
Submitted by
Christopher Dufort
-
9 years ago
0
Single xml tag close to separated
ECMAScript (JavaScript)
the tag must be a minumum of 3 characters long so we don't catch any BR, HR, etc.
Submitted by
Agent Codesmith
-
9 years ago
0
Password Policy
ECMAScript (JavaScript)
Based on the below password policy need a regex in java/javascript --Maximum Occurrence (Number of repeated Characters allowed): 1 --Minimum Alpha: 1 --Minimum Embedded Numeric: 1 --Minimum Length: 8...
Submitted by
Kannan SB
-
9 years ago
0
Name
ECMAScript (JavaScript)
Simple name matching Matches english names only, you may add international characters to list of characters.
Submitted by
Ehsan
-
9 years ago
0
TNEW Strong Password - 8 character limit
ECMAScript (JavaScript)
restricts passwords to 8+ characters
Submitted by
anonymous
-
9 years ago
0
IBAN
ECMAScript (JavaScript)
Italian IBAN
Submitted by
Italo
-
9 years ago
0
two matches with pipe
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
date format regex for MM/dd/yyyy in javascript
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
token
ECMAScript (JavaScript)
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
9 years ago
0
SharePoint File Name Vaidation
ECMAScript (JavaScript)
The file name validation algorithm from MS KB905231, I assumed the prohibited suffixes included the file extension. I.e. 'foo.doc.files' would not match but 'foo.files.doc' would.
Submitted by
David Nelson
-
9 years ago
0
file extension
ECMAScript (JavaScript)
get the file extension of a given filename
Submitted by
Simon Taylor
-
9 years ago
0
Machine readable passport number (second line)
ECMAScript (JavaScript)
Second line of the machine readable passport, based on the excellent article here - http://www.highprogrammer.com/alan/numbers/mrp.html
Submitted by
Leigh Garland
-
9 years ago
0
float
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
WOrd with colon
ECMAScript (JavaScript)
no description available
Submitted by
HJ
-
9 years ago
0
find link to profile in VK html message
ECMAScript (JavaScript)
поиск в тексте всех ссылок на профили пользователей вконтакте. ссылки вида [id12345678|Name]
Submitted by
MixApp
-
9 years ago
0
Phone validate
ECMAScript (JavaScript)
Validate Phone number even if contain country code
Submitted by
Jorge Cervantes
-
9 years ago
0
full split URL by domain, path, params
ECMAScript (JavaScript)
no description available
Submitted by
memboc
-
9 years ago
0
Remove XML-Style Comments (JavaScript)
ECMAScript (JavaScript)
Exist a problem with simple regex in JS Solution from: https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9781449327453/ch09s10.html
Submitted by
Arkadiusz Sawicz
-
9 years ago
0
List of EmailAddresses
ECMAScript (JavaScript)
List of EmailAddresses optionally allowing with personal i.e. "Personal Name "
Submitted by
anonymous
-
9 years ago
1
...
5
6
7
8
9
...
192
WinSCP file list parse
0
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
-rwx
]
{10}
\s
*
[
\w\d
]
*
\s
*
[^
\s
]
*
\s
*
[^
\s
]
*
\s
*
(?<size>
\d
*
)
\s
*
.
{20}
\s
*
(?<name>
[^
\n
]
*
)
$
)*
/
mgi
Open regex in editor
Description
Capture details of file sizes and names from a ls listing from WinSCP
Submitted by
anonymous
-
2 years ago