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
Community Patterns
Search among 12,920 community submitted regex patterns...
0
Add missing point in author list initials
ECMAScript (JavaScript)
Add some point missing to initials in a citation author list
Submitted by
Pierre Racine
-
2 years ago
0
Finding and commenting uncommented console.log
ECMAScript (JavaScript)
Works in vsc for me and saves a lot of work!
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
price with two decimals
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
0
extended nginx log format
PCRE (PHP <7.3)
log_format timed '$http_x_forwarded_for - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr" ' '$request_time $upstream_response_time $pipe';
Submitted by
Pei-Tang Huang
-
2 years ago
0
define_1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
2 years ago
0
Match a line that doesn't contain a word
ECMAScript (JavaScript)
Match a line that doesn't contain a word
Submitted by
xiaoyang
-
2 years ago
0
B1 - Invert First_name and Last_name in a citation author list
ECMAScript (JavaScript)
Convert a citation author list from Pierre Racine and Luc Lauzon and Daniel Lesieur to ...
Submitted by
anonymous
-
2 years ago
0
UK PostCode Validation
.NET 7.0 (C#)
Flexible postcode validation with or without space as outlined here, but added optional space for flexibility https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/488478/Bulk_Data_Transfer_-_additional_validation_valid_from_12_November_2015.pdf
Submitted by
anonymous
-
2 years ago
0
删除Markdown中的标签连接
PCRE (PHP <7.3)
https://regex101.com/r/kndTMF/1
Submitted by
anonymous
-
2 years ago
0
Extract ALL images URLs from web page (unless domain is omitted because is local)
ECMAScript (JavaScript)
Extract ALL images URLs from web page (unless domain is omitted because is local)
Submitted by
anonymous
-
2 years ago
0
Extract all images URLs that are local (domain omitted) from a web page
ECMAScript (JavaScript)
Extract all images URLs that are local (domain omitted) from a web page
Submitted by
anonymous
-
2 years ago
0
URLs and Emails RegEx
.NET 7.0 (C#)
A neat regular expression to extract web urls and emails from a paragraph or a text stream.
Submitted by
kosalanuwan
-
2 years ago
0
multicast
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
2 years ago
0
NextJS Compiler - reactRemoveProperties
PCRE (PHP <7.3)
Match Test Properties This regular expression is used on next.config.js and is used to remove test attributes from the production build. It filters any data attributes that starts with 'test', 'cy' or 'jest'. ...
Submitted by
Patrick Fantato <patrick@madebyon.com>
-
2 years ago
0
Email input validation
ECMAScript (JavaScript)
Regex to validate an email input with the following rules... Whole address: Up to 254 characters. Case insensitive. Username and domain separated by @ symbol....
Submitted by
chCharly
-
2 years ago
(Last modified 2 years ago)
0
IPv4 input field validator
PCRE (PHP <7.3)
Use It for partial/complete IPv4 address input text checking. OK examples: 19 / 192. / 192.168.1 / 192.168.1.1 / 0.0.0.0 KO examples: 1A / 01 / 192.168..1
Submitted by
José Luis García Morillo
-
2 years ago
0
Match any number greater than 14 using regexp
ECMAScript (JavaScript)
Any number greater than 14 means: Any number with 3 or more digits with possible leading 0's Any number with 2 digits where the first digit in in the character class [2-9] Any number with 2 digits where the first digit is 1 and the second digit in in the character class [5-9] Inspired by:...
Submitted by
anonymous
-
2 years ago
0
Camel Case - no digits allowed - Upto 3 upper case letters
.NET 7.0 (C#)
To be proper camel case a word with no digits allowed and upto 3 upper case letters, a word: Must start with a lower case alphabet (a through z) Must have no digits (0 - 9) MUST have no spaces, punctuation or special characters Can have at most 3 uppercase alphabets in a row Can end in an uppercase ...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Camel Case - digits allowed - Upto 3 upper case letters
.NET 7.0 (C#)
Camel Case - digits allowed - Upto 3 upper case letters To be proper camel case a word with digits allowed and upto 3 upper case letters, a word: MUST start with a lower case alphabet (a through z) MUST have no spaces, punctuation or special characters CAN have at most 3 uppercase alphabets in a ro...
Submitted by
anonymous
-
2 years ago
0
Pascal Case - no digits allowed
ECMAScript (JavaScript)
To be proper pascal case with no digits allowed, a word: MUST start with an upper case alphabet (A through Z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row CAN end in an uppercase alphabet...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
625
626
627
628
629
...
646
Email address (most used)
31
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
\w
-
]
+
(?:
\.
[
\w
-
]
+
)*
)
@
(
(?:
[
\w
-
]
+
\.
)*
\w
[
\w
-
]
{0,66}
)
\.
(
[
a
-
z
]
{2,6}
(?:
\.
[
a
-
z
]
{2}
)?
)
$
/
i
Open regex in editor
Description
Email address, most used cases
Submitted by
Jago
-
9 years ago