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,620 community submitted regex patterns...
-1
Email Regex
ECMAScript (JavaScript)
Email Validation Regex
Submitted by
anonymous
-
2 years ago
-1
Remove HTML tags from a string using JavaScript and RegEx
ECMAScript (JavaScript)
Remove HTML tags from a string using JavaScript and RegEx
Submitted by
Megralo
-
2 years ago
-1
Email
ECMAScript (JavaScript)
validation email
Submitted by
anonymous
-
2 years ago
-1
Extract favicon from html head meta links
ECMAScript (JavaScript)
I needed a generic way to pull the shortcut icon for sites. This expression parses the html for the icon. If the icon was not found, my code checks for the "favicon.ico" in the root of the site.
Submitted by
groundh0g
-
2 years ago
-1
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
a year ago
-1
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
a year ago
-1
Email with (TLD match)
ECMAScript (JavaScript)
Match an email address and the TLD (.com, .net, .org etc) String: test@test.net Matches: test@test.net|.net
Submitted by
Frosty
-
a year ago
(Last modified a year ago)
-1
IPv4 Address Match
ECMAScript (JavaScript)
Matches IP addresses
Submitted by
jimbrig
-
a year ago
-1
Dart relative import
Java 8
find dart relative import path
Submitted by
sagarpanchal
-
a year ago
-1
Capturing groups with suffix
Java 8
Capturing the content of column names which are duplicate in nature to extract the actual name and suffix ("right" / "left")
Submitted by
anonymous
-
a year ago
-1
匹配引号内容/match quotation mark content
ECMAScript (JavaScript)
匹配带引号内容,被引号包含的内容 结构($x) ((前引号)(内容)(后引号)) 整体内容(包含引号)...
Submitted by
诶!你的尾巴掉了
-
a year ago
(Last modified a year ago)
0
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
Phone area code - prefix - number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
adding space after (.) period and next word
ECMAScript (JavaScript)
Requirement was to check if there is space between . and next text and if not the then add space
Submitted by
Prajkta
-
10 years ago
0
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
10 years ago
0
ssi tag into html contents with file and virtual directives
ECMAScript (JavaScript)
no description available
Submitted by
Prashant Gaur
-
10 years ago
0
Bad comma puctuation
ECMAScript (JavaScript)
Just an example for a guy wanting to check space before comma
Submitted by
anonymous
-
10 years ago
0
filename split
ECMAScript (JavaScript)
Splitting file names
Submitted by
Miloš Ratković
-
10 years ago
0
Number matching RE
ECMAScript (JavaScript)
Optional plus or minus sign. Leading zero required for decimal number less than zero.
Submitted by
Mario Diana
-
10 years ago
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
1
...
3
4
5
6
7
...
181
IPv4 Address Match
-1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
1
?
[
\d
]
?
[
\d
]
|
2
(
[
0
-
4
]
[
\d
]
|
5
[
0
-
5
]
)
)
[
.
]
){3}
(
1
?
[
\d
]
?
[
\d
]
|
2
(
[
0
-
4
]
[
\d
]
|
5
[
0
-
5
]
)
)
$
/
g
Open regex in editor
Description
Matches IP addresses
Submitted by
jimbrig
-
a year ago