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 14,700 community submitted regex patterns...
1
Text to Sentence with URLs
PCRE (PHP <7.3)
Text to sentence is easy, but not when there are URLs or website names inside the text.
Submitted by
khpatel4991
-
8 years ago
2
Standard first and/or last name
PCRE (PHP <7.3)
This just checks for case insensitive first name, last name, or both.
Submitted by
Josh Garnick
-
8 years ago
1
CATEGORY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Asterisk channel name
PCRE (PHP <7.3)
Extract channel name from Asterisk channel line
Submitted by
Denis Bondar
-
8 years ago
0
Find in string template with regular expression
PCRE (PHP <7.3)
In string find regular expression or data type with limiters (start and end or summary count of symbols)
Submitted by
Bohdanov Mikhail
-
8 years ago
1
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
WINCOR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
dates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
dd/mm/yyyy inc. LeapYears
ECMAScript (JavaScript)
1900 - 2015. Useful for Birthdates
Submitted by
ChrisAbra
-
8 years ago
1
Url parser
PCRE (PHP <7.3)
Parse url with any complexity
Submitted by
Bohdanov Mikhail
-
8 years ago
1
Jaba
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
8 years ago
1
Cisco Mac address regex
ECMAScript (JavaScript)
just a a simple match for a mac address
Submitted by
celtic
-
8 years ago
1
2001-9999
ECMAScript (JavaScript)
2001-9999
Submitted by
anonymous
-
8 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
-
8 years ago
3
IPv4 validation
ECMAScript (JavaScript)
validate an IP v4
Submitted by
harimambura
-
8 years ago
1
Parse faxmail log
PCRE (PHP <7.3)
no description available
Submitted by
Michael Blair
-
8 years ago
1
Количество
PCRE (PHP <7.3)
Найти числа, которые обозначают количество.
Submitted by
anonymous
-
8 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
-
8 years ago
1
Get 3 segment nz table name
PCRE (PHP <7.3)
no description available
Submitted by
vwei02
-
8 years ago
1
...
538
539
540
541
542
...
735
DNS and lenght
2
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
.
{3,256}
$
)
(
(?:
[
a
-
z0
-
9-
]
{2,65}
\.
)?
[
a
-
z0
-
9-
]
{2,256}
\.
[
a
-
z
\.
]
{2,6}
)
$
/
img
Open regex in editor
Description
Ideal for filter Domain with or without subdomain, and length less than 256.
Submitted by
Presta-Lab
-
8 years ago