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
sAMAccountName in ActiveDirectory validation
PCRE (PHP <7.3)
Used in C# in my particular case.
Submitted by
Aleksander Kirichek
-
10 years ago
1
trans with var
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
parse some html img
PCRE (PHP <7.3)
task is prepend domain to all src img. why 3rd img doesnt parse???
Submitted by
adminko
-
10 years ago
0
regex101-4269
ECMAScript (JavaScript)
to share with IRC helpers
Submitted by
Bruno
-
10 years ago
0
urls and emails
PCRE (PHP <7.3)
no description available
Submitted by
Matthew O'Riordan
-
10 years ago
1
Extraire sku URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Extract Fields from Mailexpire
PCRE (PHP <7.3)
Given the HTML of an alias's control panel, apply the XPath "//span[@class='maintext']". The second result returned can be parsed by this regex to yield the most pertinent field names and their values.
Submitted by
Crumeniferus
-
10 years ago
-2
match only words consisting of 3 repeated letters, e.g. lllkkk
Python
no description available
Submitted by
kali
-
10 years ago
1
Phone Number Validation
PCRE (PHP <7.3)
Only Numbers Allowed, Optional (+) for international numbers Min: 10 Max: 14 Optional: +
Submitted by
Menon Kalipurayath (MenonOn.Net)
-
10 years ago
2
Route Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Fetch file information using File URL.
PCRE (PHP <7.3)
Get information from File URL such as, Extension. Parent folder name. Drive name. File name.
Submitted by
-Harshal.Ahire (ahireharshal@gmail.com)
-
10 years ago
1
domain from full url
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Array formatting (serialized)
PCRE (PHP <7.3)
Check for correctly formatted array of this type: array( array('name'=>'War and Peace', 'year'=>1865), array('name'=>'Different Seasons', 'year'=>1982), )
Submitted by
oneperfectsunrise
-
10 years ago
0
(sub)domain match
PCRE (PHP <7.3)
1.Tree of subdivisions may have up to 127 levels. 2.Each label may contain up to 63 characters. 3.The full domain name may not exceed the length of 253 characters in its textual representation. rfc1035 rfc1123 rfc2181
Submitted by
Nick Chkhikvishvili
-
10 years ago
1
quantity matcher
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-1
Alternative With Capture Groups
Python
Capture alternative items matching end of lines country codes
Submitted by
Branden
-
10 years ago
1
Currency amount without currency symbol
PCRE (PHP <7.3)
Matching numbers related to financial amounts. Does not consider the type of currency. Will not match: 34 1.005 33,00...
Submitted by
elgehelge
-
10 years ago
1
Extract elevation from GPX
PCRE (PHP <7.3)
Matches everything except content between and
Submitted by
ViteXikora
-
10 years ago
1
Match mydomain*.mydomain.com
PCRE (PHP <7.3)
no description available
Submitted by
Trappist
-
10 years ago
1
Stackexchange: Create date variable from time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
42
43
44
45
46
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
\[
[
{,%
]
?
(?<fieldName>
.
+
)
(
\(
(?<fieldId>
\d
+
)
\)
)?
[
},%
]
?
\]
/
gmx
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago