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,000 community submitted regex patterns...
1
2001-9999
ECMAScript (JavaScript)
2001-9999
Submitted by
anonymous
-
9 years ago
1
Exact match of whole word or phrase in string
PCRE (PHP <7.3)
word in sentense - true sentense has a word - true There is a word in the sentense - true Sentense wordless - false Sentense is empty - false words are in the sentense - false...
Submitted by
Denisenko Artem
-
9 years ago
3
IPv4 validation
ECMAScript (JavaScript)
validate an IP v4
Submitted by
harimambura
-
9 years ago
1
Parse faxmail log
PCRE (PHP <7.3)
no description available
Submitted by
Michael Blair
-
9 years ago
1
Количество
PCRE (PHP <7.3)
Найти числа, которые обозначают количество.
Submitted by
anonymous
-
9 years ago
1
Get table name from query
PCRE (PHP <7.3)
this extracts the table name in the from or join clause from SQL query
Submitted by
vwei02
-
9 years ago
1
Get 3 segment nz table name
PCRE (PHP <7.3)
no description available
Submitted by
vwei02
-
9 years ago
3
french phone number + match right part
PCRE (PHP <7.3)
Matches french numbers (not special numbers like 115, 18). First matching group contains the right part without prefix (0, +33, 33, 033, or 0033).
Submitted by
xdrm-brackets
-
9 years ago
2
DNS and lenght
PCRE (PHP <7.3)
Ideal for filter Domain with or without subdomain, and length less than 256.
Submitted by
Presta-Lab
-
9 years ago
1
Pubmed Dates
PCRE (PHP <7.3)
PubMEd XML contains multiple date blocks, with or without Month, day, hour, minute. USAGE: while(my($pubstatus,$year,$month,$day,$hour,$minute)= $article =~ m% (?:\s* (?:\s(\d?)\s)* (?:\s(\d?)(?:)?\s)...
Submitted by
Andy Reid
-
9 years ago
1
Parse Youtube links
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Format phone number
ECMAScript (JavaScript)
no description available
Submitted by
andreasonny83
-
9 years ago
1
BASE Amplicon filename parsing
Python
BASE Amplicon parsing
Submitted by
sthysel
-
9 years ago
1
Space replacement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL parser/validator
PCRE (PHP <7.3)
Validates and parses absolute URLs: Optional http:// or https:// at the start IPv4 supported, IPv6 NOT supported International characters (punycode) NOT supported Extracts scheme, username, password, IPv4 address or domain, port, path, querystring and fragment...
Submitted by
doin
-
9 years ago
1
lesson 4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
HTML hyperlinks
PCRE (PHP <7.3)
Match all Hyperlinks
Submitted by
anonymous
-
9 years ago
1
lesson 1
ECMAScript (JavaScript)
no description available
Submitted by
Anmol
-
9 years ago
1
Extron SMP351 info string
Python
Get the 7 values coming from the device (telnet port 23) after sending the get info (b'I\r') command.
Submitted by
FT
-
9 years ago
1
Stateless functional component matching
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
704
705
706
707
708
...
900
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(?<ServerName>
[^
.
]
[
a
-
z
0
-
9
A
-
Z
_
-
]
*
)
\.
(?<Domain>
.
*
)
/
Open regex in editor
Description
no description available
Submitted by
Awan
-
9 years ago