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 12,620 community submitted regex patterns...
1
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
9 years ago
0
Match youtube id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
4
Validate a Particular File Extension
PCRE (PHP <7.3)
Validates a File Path and makes sure the correct extension is at the end.
Submitted by
Andrew Morpurgo
-
9 years ago
1
Get Itunes ID
PCRE (PHP <7.3)
Get itunes id from url
Submitted by
sendypw
-
9 years ago
1
Email validation
PCRE (PHP <7.3)
because everything else is too strict
Submitted by
anonymous
-
9 years ago
1
Stackexchange: Create date variable from time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
rvewr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
URL with matching categories
PCRE (PHP <7.3)
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
9 years ago
1
match any email address in list
PCRE (PHP <7.3)
no description available
Submitted by
cloneman
-
9 years ago
2
html font to bbcode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Match mydomain*.mydomain.com
PCRE (PHP <7.3)
no description available
Submitted by
Trappist
-
9 years ago
1
Пошук Ñмайлів
PCRE (PHP <7.3)
ПроÑтенька демонÑÑ‚Ñ€Ð°Ñ†Ñ–Ñ Ð¿Ð¾ÑˆÑƒÐºÑƒ Ñмайлів за допомогою регулÑрних виразів
Submitted by
КоÑÑ‚Ñ Ð¢Ñ€ÐµÑ‚Ñк
-
9 years ago
1
big apple is fool
ECMAScript (JavaScript)
no description available
Submitted by
litianzhao
-
9 years ago
1
Ja som's regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
26
Parsing browser User Agents
PCRE (PHP <7.3)
From a (fairly large) list of User Agent strings, extract the OS, Browser, and Device Type.
Submitted by
OnlineCop
-
9 years ago
(Last modified 10 months ago)
1
Extract elevation from GPX
PCRE (PHP <7.3)
Matches everything except content between and
Submitted by
ViteXikora
-
9 years ago
4
AMEX, VISA, MASTERCARD, and DISCOVER REGEX
PCRE (PHP <7.3)
First pass at a way to find credit card data using regex.
Submitted by
David Maislin
-
9 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
-
9 years ago
2
Currency amount without currency symbol
PCRE (PHP <7.3)
Matches numbers that are likely to by financial amount. Does not consider the type of currency.
Submitted by
elgehelge
-
9 years ago
3
Alternative Capture Country Codes
PCRE (PHP <7.3)
no description available
Submitted by
Branden
-
9 years ago
1
...
595
596
597
598
599
...
631
Get the number which length = 15 in string
0
Regular Expression
ECMAScript (JavaScript)
/
(?<!
\d
)
\d
{15}
(?!
\d
)
/
gm
Open regex in editor
Description
Match the number which length = 15 in string
Submitted by
TQT
-
3 years ago